Struct cassandra_cpp::TableMeta [−][src]
pub struct TableMeta(_);
Expand description
Table metadata
Implementations
impl TableMeta
[src]
impl TableMeta
[src]pub fn field_iter(&mut self) -> FieldIteratorⓘNotable traits for FieldIterator
impl Iterator for FieldIterator type Item = Field;
[src]
pub fn field_iter(&mut self) -> FieldIteratorⓘNotable traits for FieldIterator
impl Iterator for FieldIterator type Item = Field;
[src]returns an iterator over the fields of this table
pub fn columns_iter(&self) -> ColumnIteratorⓘNotable traits for ColumnIterator
impl Iterator for ColumnIterator type Item = ColumnMeta;
[src]
pub fn columns_iter(&self) -> ColumnIteratorⓘNotable traits for ColumnIterator
impl Iterator for ColumnIterator type Item = ColumnMeta;
[src]An iterator over the columns in this table
pub fn column_by_name(&self, name: &str) -> ColumnMeta
[src]
pub fn column_by_name(&self, name: &str) -> ColumnMeta
[src]Gets the column metadata for the provided column name.
pub fn column_count(&self) -> usize
[src]
pub fn column_count(&self) -> usize
[src]Gets the total number of columns for the table.
pub fn column(&self, index: usize) -> ColumnMeta
[src]
pub fn column(&self, index: usize) -> ColumnMeta
[src]Gets the column metadata for the provided index.
pub fn partition_key_count(&self) -> usize
[src]
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]
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]
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]
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]
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TableMeta
impl !Send for TableMeta
impl !Sync for TableMeta
impl Unpin for TableMeta
impl UnwindSafe for TableMeta
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,