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 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.
const CassDataType *
cass_schema_get_udt
( schema, keyspace, type_name )Gets a UDT data type
const CassDataType *
cass_schema_get_udt_n
( schema, keyspace, keyspace_length, type_name, type_name_length )Same as CassSchema::cass_schema_get_udt
, 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.