[−][src]Struct cassandra_cpp::TableMeta
Table metadata
Methods
impl TableMeta
[src]
impl TableMeta
ⓘImportant traits for FieldIterator
pub fn field_iter(&mut self) -> FieldIterator | [src] |
returns an iterator over the fields of this table
ⓘImportant traits for ColumnIterator
pub fn columns_iter(&self) -> ColumnIterator | [src] |
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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,