struct CassSchema
A snapshot of the cluster’s schema metadata.
Functions
Frees a schema instance.
const CassSchemaMeta *
cass_schema_get_keyspace
(const CassSchema *
schema, const char *
keyspace )
Gets the metadata for the provided keyspace name.
const CassSchemaMeta *
cass_schema_get_keyspace_n
(const CassSchema *
schema, const char *
keyspace, size_t
keyspace_length )
Same as CassSchema::cass_schema_get_keyspace
, but with lengths for string parameters.
const CassDataType *
cass_schema_get_udt
(const CassSchema *
schema, const char *
keyspace, const char *
type_name )
Gets a UDT data type
const CassDataType *
cass_schema_get_udt_n
(const CassSchema *
schema, const char *
keyspace, size_t
keyspace_length, const char *
type_name, size_t
type_name_length )
Same as CassSchema::cass_schema_get_udt
, but with lengths for string parameters.
Gets the type of the specified schema metadata.
const CassSchemaMeta *
cass_schema_meta_get_entry_n
(const CassSchemaMeta *
meta, const char *
name, size_t
name_length )
Same as CassSchemaMeta::cass_schema_meta_get_entry
, but with lengths for string parameters.
const CassSchemaMetaField *
cass_schema_meta_get_field_n
(const CassSchemaMeta *
meta, const char *
name, size_t
name_length )
Same as CassSchemaMeta::cass_schema_meta_get_field
, but with lengths for string parameters.
Creates a new iterator for the specified schema. This can be used to iterate over keyspace entries.