A snapshot of the schema’s metadata.

Functions

void

cass_schema_meta_free

( schema_meta )

Frees a schema metadata instance.

Parameters:
Name Type Details
in schema_meta
cass_uint32_t

cass_schema_meta_snapshot_version

( schema_meta )

Gets the version of the schema metadata snapshot.

Parameters:
Name Type Details
in schema_meta
const CassKeyspaceMeta *

cass_schema_meta_keyspace_by_name

( schema_meta, keyspace )

Gets the keyspace metadata for the provided keyspace name.

Parameters:
Name Type Details
in schema_meta
in keyspace
Returns:
Type Details
const CassKeyspaceMeta *

The metadata for a keyspace. NULL if keyspace does not exist.

const CassKeyspaceMeta *

cass_schema_meta_keyspace_by_name_n

( schema_meta, keyspace, keyspace_length )

Same as CassSchemaMeta::cass_schema_meta_keyspace_by_name, but with lengths for string parameters.

Parameters:
Name Type Details
in schema_meta
in keyspace
in keyspace_length
Returns:
Type Details
const CassKeyspaceMeta *

same as CassSchemaMeta::cass_schema_meta_keyspace_by_name

See Also:
CassIterator *

cass_iterator_keyspaces_from_schema_meta

( schema_meta )

Creates a new iterator for the specified schema metadata. This can be used to iterate over keyspace.

Parameters:
Name Type Details
in schema_meta
Returns:
Type Details
CassIterator *

A new iterator that must be freed.

See Also: