struct CassSchema
A snapshot of the cluster’s schema metadata.
Functions
void
cass_schema_free
( schema )Frees a schema instance.
const CassSchemaMeta *
cass_schema_get_keyspace
( schema, keyspace )Gets a the metadata for the provided keyspace name.
const CassSchemaMeta *
cass_schema_get_keyspace_n
( schema, keyspace, keyspace_length )Same as CassSchema::cass_schema_get_keyspace
, but with lengths for string parameters.
CassSchemaMetaType
cass_schema_meta_type
( meta )Gets the type of the specified schema metadata.
const CassSchemaMeta *
cass_schema_meta_get_entry_n
( meta, name, name_length )Same as CassSchemaMeta::cass_schema_meta_get_entry
, but with lengths for string parameters.
const CassSchemaMetaField *
cass_schema_meta_get_field_n
( meta, name, name_length )Same as CassSchemaMeta::cass_schema_meta_get_field
, but with lengths for string parameters.
CassIterator *
cass_iterator_from_schema
( schema )Creates a new iterator for the specified schema. This can be used to iterate over keyspace entries.