struct CassTableMeta
Table metadata
Functions
const CassColumnMeta *
cass_table_meta_column_by_name
( table_meta, column )Gets the column metadata for the provided column name.
const CassColumnMeta *
cass_table_meta_column_by_name_n
( table_meta, column, column_length )Same as CassTableMeta::cass_table_meta_column_by_name
, but with lengths for string parameters.
void
cass_table_meta_name
( table_meta, name, name_length )Gets the name of the table.
size_t
cass_table_meta_column_count
( table_meta )Gets the total number of columns for the table.
const CassColumnMeta *
cass_table_meta_column
( table_meta, index )Gets the column metadata for the provided index.
size_t
cass_table_meta_partition_key_count
( table_meta )Gets the number of columns for the table’s partition key.
const CassColumnMeta *
cass_table_meta_partition_key
( table_meta, index )Gets the partition key column metadata for the provided index.
size_t
cass_table_meta_clustering_key_count
( table_meta )Gets the number of columns for the table’s clustering key.
const CassColumnMeta *
cass_table_meta_clustering_key
( table_meta, index )Gets the clustering key column metadata for the provided index.
const CassValue *
cass_table_meta_field_by_name
( table_meta, name )Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “tables” metadata table.
const CassValue *
cass_table_meta_field_by_name_n
( table_meta, name, name_length )Same as CassTableMeta::cass_table_meta_field_by_name
, but with lengths for string parameters.
CassIterator *
cass_iterator_columns_from_table_meta
( table_meta )Creates a new iterator for the specified table metadata. This can be used to iterate over columns.
CassIterator *
cass_iterator_fields_from_table_meta
( table_meta )Creates a new fields iterator for the specified table metadata. Metadata fields allow direct access to the column data found in the underlying “tables” metadata table. This can be used to iterate those metadata field entries.