struct CassTableMeta
Table metadata
Functions
const CassColumnMeta *
cass_table_meta_column_by_name
(const CassTableMeta *
table_meta, const char *
column )
Gets the column metadata for the provided column name.
const CassColumnMeta *
cass_table_meta_column_by_name_n
(const CassTableMeta *
table_meta, const char *
column, size_t
column_length )
Same as CassTableMeta::cass_table_meta_column_by_name
, but with lengths for string parameters.
void
cass_table_meta_name
(const CassTableMeta *
table_meta, const char **
name, size_t *
name_length )
Gets the name of the table.
Gets the total number of columns for the table.
Gets the column metadata for the provided index.
Gets the number of columns for the table’s partition key.
const CassColumnMeta *
cass_table_meta_partition_key
(const CassTableMeta *
table_meta, size_t
index )
Gets the partition key column metadata for the provided index.
Gets the number of columns for the table’s clustering key.
const CassColumnMeta *
cass_table_meta_clustering_key
(const CassTableMeta *
table_meta, size_t
index )
Gets the clustering key column metadata for the provided index.
const CassValue *
cass_table_meta_field_by_name
(const CassTableMeta *
table_meta, const char *
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
(const CassTableMeta *
table_meta, const char *
name, size_t
name_length )
Same as CassTableMeta::cass_table_meta_field_by_name
, but with lengths for string parameters.
Creates a new iterator for the specified table metadata. This can be used to iterate over columns.
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.