struct CassKeyspaceMeta
Keyspace metadata
Functions
void
cass_keyspace_meta_name
(const CassKeyspaceMeta *
keyspace_meta, const char **
name, size_t *
name_length )
Gets the name of the keyspace.
Determine if the keyspace is a virtual keyspace.
const CassTableMeta *
cass_keyspace_meta_table_by_name
(const CassKeyspaceMeta *
keyspace_meta, const char *
table )
Gets the table metadata for the provided table name.
const CassTableMeta *
cass_keyspace_meta_table_by_name_n
(const CassKeyspaceMeta *
keyspace_meta, const char *
table, size_t
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
(const CassKeyspaceMeta *
keyspace_meta, const char *
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
(const CassKeyspaceMeta *
keyspace_meta, const char *
view, size_t
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
(const CassKeyspaceMeta *
keyspace_meta, const char *
type )
Gets the data type for the provided type name.
Requires Cassandra: 2.1+
const CassDataType *
cass_keyspace_meta_user_type_by_name_n
(const CassKeyspaceMeta *
keyspace_meta, const char *
type, size_t
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
(const CassKeyspaceMeta *
keyspace_meta, const char *
name, const char *
arguments )
Gets the function metadata for the provided function name.
Requires Cassandra: 2.2+
const CassFunctionMeta *
cass_keyspace_meta_function_by_name_n
(const CassKeyspaceMeta *
keyspace_meta, const char *
name, size_t
name_length, const char *
arguments, size_t
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
(const CassKeyspaceMeta *
keyspace_meta, const char *
name, const char *
arguments )
Gets the aggregate metadata for the provided aggregate name.
Requires Cassandra: 2.2+
const CassAggregateMeta *
cass_keyspace_meta_aggregate_by_name_n
(const CassKeyspaceMeta *
keyspace_meta, const char *
name, size_t
name_length, const char *
arguments, size_t
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
(const CassKeyspaceMeta *
keyspace_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 “keyspaces” metadata table.
const CassValue *
cass_keyspace_meta_field_by_name_n
(const CassKeyspaceMeta *
keyspace_meta, const char *
name, size_t
name_length )
Same as CassKeyspaceMeta::cass_keyspace_meta_field_by_name
, but with lengths for string parameters.
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
(const CassKeyspaceMeta *
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
(const CassKeyspaceMeta *
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
(const CassKeyspaceMeta *
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
(const CassKeyspaceMeta *
keyspace_meta )
Creates a new iterator for the specified keyspace metadata. This can be used to iterate over aggregates.
Requires Cassandra: 2.2+
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.