Struct cassandra_cpp::TableMeta
[−]
[src]
pub struct TableMeta(_);
Table metadata
Methods
impl TableMeta
[src]
fn field_iter(&mut self) -> FieldIterator
returns an iterator over the fields of this table
fn columns_iter(&self) -> ColumnIterator
An iterator over the columns in this table
fn column_by_name(&self, name: &str) -> ColumnMeta
Gets the column metadata for the provided column name.
fn get_name(&self) -> String
Gets the name of the table.
fn column_count(&self) -> usize
Gets the total number of columns for the table.
fn column(&self, index: usize) -> ColumnMeta
Gets the column metadata for the provided index.
fn partition_key_count(&self) -> usize
Gets the number of columns for the table's partition key.
fn partition_key(&self, index: usize) -> Option<ColumnMeta>
Gets the partition key column metadata for the provided index.
fn clustering_key_count(&self) -> usize
Gets the number of columns for the table's clustering key
fn cluster_key(&self, index: usize) -> Option<ColumnMeta>
Gets the clustering key column metadata for the provided index.
fn field_by_name(&self, name: &str) -> Option<Value>
Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying "tables" metadata table.