Struct cassandra_cpp::KeyspaceMeta
source · pub struct KeyspaceMeta(_);
Expand description
A snapshot of the schema’s metadata.
Implementations§
source§impl KeyspaceMeta
impl KeyspaceMeta
sourcepub fn aggregrates_iter(&self) -> AggregateIterator ⓘ
pub fn aggregrates_iter(&self) -> AggregateIterator ⓘ
Iterator over the aggregates in this keyspace
sourcepub fn fields_iter(&self) -> FieldIterator ⓘ
pub fn fields_iter(&self) -> FieldIterator ⓘ
Iterator over the field in this keyspace
sourcepub fn table_by_name(&self, name: &str) -> Option<TableMeta>
pub fn table_by_name(&self, name: &str) -> Option<TableMeta>
Gets the table metadata for the provided table name.
sourcepub fn user_type_by_name(&self, name: &str) -> Option<ConstDataType>
pub fn user_type_by_name(&self, name: &str) -> Option<ConstDataType>
Gets the data type for the provided type name.
sourcepub fn get_function_by_name(
&self,
name: &str,
arguments: Vec<&str>
) -> Option<FunctionMeta>
pub fn get_function_by_name(
&self,
name: &str,
arguments: Vec<&str>
) -> Option<FunctionMeta>
Gets the function metadata for the provided function name.
sourcepub fn aggregate_by_name(
&self,
name: &str,
arguments: Vec<&str>
) -> Option<AggregateMeta>
pub fn aggregate_by_name(
&self,
name: &str,
arguments: Vec<&str>
) -> Option<AggregateMeta>
Gets the aggregate metadata for the provided aggregate name.
sourcepub fn table_iter(&mut self) -> TableIterator ⓘ
pub fn table_iter(&mut self) -> TableIterator ⓘ
Iterator over the tables in this keyspaces
sourcepub fn function_iter(&mut self) -> FunctionIterator ⓘ
pub fn function_iter(&mut self) -> FunctionIterator ⓘ
Iterator over the functions in this keyspaces
sourcepub fn user_type_iter(&mut self) -> UserTypeIterator ⓘ
pub fn user_type_iter(&mut self) -> UserTypeIterator ⓘ
Iterator over the UDTs in this keyspaces
sourcepub fn field_by_name(&self, name: &str) -> Option<MetadataFieldValue>
pub fn field_by_name(&self, name: &str) -> Option<MetadataFieldValue>
Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “keyspaces” metadata table.