struct CassTableMeta
Table metadata
Functions
void
cass_table_meta_name
( table_meta, name, name_length )Gets the name of the table.
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.
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.
const CassIndexMeta *
cass_table_meta_index_by_name
( table_meta, index )Gets the index metadata for the provided index name.
const CassIndexMeta *
cass_table_meta_index_by_name_n
( table_meta, index, index_length )Same as CassTableMeta::cass_table_meta_index_by_name
, but with lengths for string parameters.
size_t
cass_table_meta_index_count
( table_meta )Gets the total number of indexes for the table.
const CassIndexMeta *
cass_table_meta_index
( table_meta, index )Gets the index metadata for the provided index.
const CassMaterializedViewMeta *
cass_table_meta_materialized_view_by_name
( table_meta, view )Gets the materialized view metadata for the provided view name.
Requires Cassandra: 3.0+
const CassMaterializedViewMeta *
cass_table_meta_materialized_view_by_name_n
( table_meta, view, view_length )Same as CassTableMeta::cass_table_meta_materialized_view_by_name
, but with lengths for string parameters.
Requires Cassandra: 3.0+
size_t
cass_table_meta_materialized_view_count
( table_meta )Gets the total number of views for the table.
Requires Cassandra: 3.0+
const CassMaterializedViewMeta *
cass_table_meta_materialized_view
( table_meta, index )Gets the materialized view metadata for the provided index.
Requires Cassandra: 3.0+
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.
CassClusteringOrder
cass_table_meta_clustering_key_order
( table_meta, index )Gets the clustering order 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_indexes_from_table_meta
( table_meta )Creates a new iterator for the specified table metadata. This can be used to iterate over indexes.
CassIterator *
cass_iterator_materialized_views_from_table_meta
( table_meta )Creates a new iterator for the specified materialized view metadata. This can be used to iterate over columns.
Requires Cassandra: 3.0+
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.