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