struct CassKeyspaceMeta
Keyspace metadata
Functions
void
cass_keyspace_meta_name
( keyspace_meta, name, name_length )Gets the name of the keyspace.
const CassTableMeta *
cass_keyspace_meta_table_by_name
( keyspace_meta, table )Gets the table metadata for the provided table name.
const CassTableMeta *
cass_keyspace_meta_table_by_name_n
( keyspace_meta, table, table_length )Same as CassKeyspaceMeta::cass_keyspace_meta_table_by_name
, but with lengths for string parameters.
const CassMaterializedViewMeta *
cass_keyspace_meta_materialized_view_by_name
( keyspace_meta, view )Gets the materialized view metadata for the provided view name.
Requires Cassandra: 3.0+
const CassMaterializedViewMeta *
cass_keyspace_meta_materialized_view_by_name_n
( keyspace_meta, view, view_length )Same as CassKeyspaceMeta::cass_keyspace_meta_materialized_view_by_name
, but with lengths for string parameters.
Requires Cassandra: 3.0+
const CassDataType *
cass_keyspace_meta_user_type_by_name
( keyspace_meta, type )Gets the data type for the provided type name.
Requires Cassandra: 2.1+
const CassDataType *
cass_keyspace_meta_user_type_by_name_n
( keyspace_meta, type, type_length )Same as cass_keyspace_meta_type_by_name(), but with lengths for string parameters.
Requires Cassandra: 2.1+
const CassFunctionMeta *
cass_keyspace_meta_function_by_name
( keyspace_meta, name, arguments )Gets the function metadata for the provided function name.
Requires Cassandra: 2.2+
const CassFunctionMeta *
cass_keyspace_meta_function_by_name_n
( keyspace_meta, name, name_length, arguments, arguments_length )Same as CassKeyspaceMeta::cass_keyspace_meta_function_by_name
, but with lengths for string parameters.
Requires Cassandra: 2.2+
const CassAggregateMeta *
cass_keyspace_meta_aggregate_by_name
( keyspace_meta, name, arguments )Gets the aggregate metadata for the provided aggregate name.
Requires Cassandra: 2.2+
const CassAggregateMeta *
cass_keyspace_meta_aggregate_by_name_n
( keyspace_meta, name, name_length, arguments, arguments_length )Same as CassKeyspaceMeta::cass_keyspace_meta_aggregate_by_name
, but with lengths for string parameters.
Requires Cassandra: 2.2+
const CassValue *
cass_keyspace_meta_field_by_name
( keyspace_meta, name )Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “keyspaces” metadata table.
const CassValue *
cass_keyspace_meta_field_by_name_n
( keyspace_meta, name, name_length )Same as CassKeyspaceMeta::cass_keyspace_meta_field_by_name
, but with lengths for string parameters.
CassIterator *
cass_iterator_tables_from_keyspace_meta
( keyspace_meta )Creates a new iterator for the specified keyspace metadata. This can be used to iterate over tables.
CassIterator *
cass_iterator_materialized_views_from_keyspace_meta
( keyspace_meta )Creates a new iterator for the specified keyspace metadata. This can be used to iterate over views.
Requires Cassandra: 3.0+
CassIterator *
cass_iterator_user_types_from_keyspace_meta
( keyspace_meta )Creates a new iterator for the specified keyspace metadata. This can be used to iterate over types.
Requires Cassandra: 2.1+
CassIterator *
cass_iterator_functions_from_keyspace_meta
( keyspace_meta )Creates a new iterator for the specified keyspace metadata. This can be used to iterate over functions.
Requires Cassandra: 2.2+
CassIterator *
cass_iterator_aggregates_from_keyspace_meta
( keyspace_meta )Creates a new iterator for the specified keyspace metadata. This can be used to iterate over aggregates.
Requires Cassandra: 2.2+
CassIterator *
cass_iterator_fields_from_keyspace_meta
( keyspace_meta )Creates a new fields iterator for the specified keyspace metadata. Metadata fields allow direct access to the column data found in the underlying “keyspaces” metadata table. This can be used to iterate those metadata field entries.