struct CassMaterializedViewMeta
MaterializedView metadata
Requires Cassandra: 3.0+
Functions
const CassColumnMeta *
cass_materialized_view_meta_column_by_name
( view_meta, column )Gets the column metadata for the provided column name.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in column - Returns:
Type Details const CassColumnMeta *
The metadata for a column. NULL if column does not exist.
const CassColumnMeta *
cass_materialized_view_meta_column_by_name_n
( view_meta, column, column_length )Same as CassMaterializedViewMeta::cass_materialized_view_meta_column_by_name
, but with lengths for string parameters.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in column in column_length - Returns:
Type Details const CassColumnMeta *
same as
CassMaterializedViewMeta::cass_materialized_view_meta_column_by_name
- See Also:
void
cass_materialized_view_meta_name
( view_meta, name, name_length )Gets the name of the view.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta out name out name_length
const CassTableMeta *
cass_materialized_view_meta_base_table
( view_meta )Gets the base table of the view.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta - Returns:
Type Details const CassTableMeta *
The base table for the view.
size_t
cass_materialized_view_meta_column_count
( view_meta )Gets the total number of columns for the view.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta - Returns:
Type Details size_t
The total column count.
const CassColumnMeta *
cass_materialized_view_meta_column
( view_meta, index )Gets the column metadata for the provided index.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in index - Returns:
Type Details const CassColumnMeta *
The metadata for a column. NULL returned if the index is out of range.
size_t
cass_materialized_view_meta_partition_key_count
( view_meta )Gets the number of columns for the view’s partition key.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta - Returns:
Type Details size_t
The count for the number of columns in the partition key.
const CassColumnMeta *
cass_materialized_view_meta_partition_key
( view_meta, index )Gets the partition key column metadata for the provided index.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in index - Returns:
Type Details const CassColumnMeta *
The metadata for a column. NULL returned if the index is out of range.
size_t
cass_materialized_view_meta_clustering_key_count
( view_meta )Gets the number of columns for the view’s clustering key.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta - Returns:
Type Details size_t
The count for the number of columns in the clustering key.
const CassColumnMeta *
cass_materialized_view_meta_clustering_key
( view_meta, index )Gets the clustering key column metadata for the provided index.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in index - Returns:
Type Details const CassColumnMeta *
The metadata for a column. NULL returned if the index is out of range.
CassClusteringOrder
cass_materialized_view_meta_clustering_key_order
( view_meta, index )Gets the clustering order column metadata for the provided index.
- Parameters:
Name Type Details in view_meta in index - Returns:
Type Details CassClusteringOrder
The clustering order for a column. CASS_CLUSTERING_ORDER_NONE returned if the index is out of range.
- See Also:
const CassValue *
cass_materialized_view_meta_field_by_name
( view_meta, name )Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying "views" metadata view.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in name - Returns:
Type Details const CassValue *
A metadata field value. NULL if the field does not exist.
const CassValue *
cass_materialized_view_meta_field_by_name_n
( view_meta, name, name_length )Same as CassMaterializedViewMeta::cass_materialized_view_meta_field_by_name
, but with lengths for string parameters.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta in name in name_length - Returns:
Type Details const CassValue *
same as
CassMaterializedViewMeta::cass_materialized_view_meta_field_by_name
- See Also:
CassIterator *
cass_iterator_columns_from_materialized_view_meta
( view_meta )Creates a new iterator for the specified materialized view metadata. This can be used to iterate over columns.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta - Returns:
Type Details CassIterator *
A new iterator that must be freed.
- See Also:
CassIterator *
cass_iterator_fields_from_materialized_view_meta
( view_meta )Creates a new fields iterator for the specified materialized view metadata. Metadata fields allow direct access to the column data found in the underlying "views" metadata view. This can be used to iterate those metadata field entries.
Requires Cassandra: 3.0+
- Parameters:
Name Type Details in view_meta - Returns:
Type Details CassIterator *
A new iterator that must be freed.
- See Also: