A snapshot of the cluster’s schema metadata.

Functions

void

cass_schema_free

( schema )

Frees a schema instance.

Parameters:
Name Type Details
in schema
const CassSchemaMeta *

cass_schema_get_keyspace

( schema, keyspace_name )

Gets a the metadata for the provided keyspace name.

Parameters:
Name Type Details
in schema
in keyspace_name
Returns:
Type Details
const CassSchemaMeta *

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

See Also:
CassSchemaMetaType

cass_schema_meta_type

( meta )

Gets the type of the specified schema metadata.

Parameters:
Name Type Details
in meta
Returns:
Type Details
CassSchemaMetaType

The type of the schema metadata

CassIterator *

cass_iterator_from_schema

( schema )

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

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

A new iterator that must be freed.

See Also: