Allows to specify concrete type of column in subclasses,
so that columns
and columnByName
members return concrete types.
Allows to specify concrete type of column in subclasses,
so that columns
and columnByName
members return concrete types.
Columns in tables may carry more information than columns in user defined types.
Type of the data described by this struct
Sequence of column definitions in this data structure.
Sequence of column definitions in this data structure. The order of the columns is implementation-defined.
Human-readable name for easy identification of this structure.
Human-readable name for easy identification of this structure. Used in the error message when the column is not found. E.g. a table name or a type name.
Creates new instance of this struct.
Creates new instance of this struct. Column values must be given in the same order as columnNames
For quickly finding a column definition by index.
For quickly finding a column definition by index. If column is not found, throws NoSuchElementException with information about the requested index of the column and name of the structure.
For quickly finding a column definition by name.
For quickly finding a column definition by name. If column is not found, throws NoSuchElementException with information about the name of the column and name of the structure.
Names of the columns, in the same order as column definitions.
References to the columns
Types of the columns, in the same order as column names and column definitions.
Returns the columns that are not present in the structure.
Cassandra structure that contains columnar information, e.g. a table or a user defined type. This trait allows
ColumnMapper
to work on tables and user defined types. Cassandra tables and user defined types are similar in a way data are extracted from them, therefore a common interface to describe their metadata is handy.