Struct cassandra_cpp::SchemaMeta
source · pub struct SchemaMeta(_);
Expand description
A snapshot of the schema’s metadata
Implementations§
source§impl SchemaMeta
impl SchemaMeta
sourcepub fn snapshot_version(&self) -> u32
pub fn snapshot_version(&self) -> u32
Gets the version of the schema metadata snapshot.
sourcepub fn get_keyspace_by_name(&self, keyspace: &str) -> KeyspaceMeta
pub fn get_keyspace_by_name(&self, keyspace: &str) -> KeyspaceMeta
Gets the keyspace metadata for the provided keyspace name.
sourcepub fn keyspace_iter(&mut self) -> KeyspaceIterator ⓘ
pub fn keyspace_iter(&mut self) -> KeyspaceIterator ⓘ
Returns an iterator over the keyspaces in this schema