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