Struct cassandra_cpp::Row
[−]
[src]
pub struct Row(_);
A collection of column values. Read-only, so thread-safe.
Methods
impl Row
[src]
pub fn get_column(&self, index: usize) -> Result<Value>
[src]
Get a particular column by index
pub fn get_column_by_name<S>(&self, name: S) -> Result<Value> where
S: Into<String>,
[src]
S: Into<String>,
Get a particular column by name
Trait Implementations
impl Sync for Row
[src]
impl Send for Row
[src]
impl Debug for Row
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Row
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl AsRustType<bool> for Row
[src]
fn get(&self, index: usize) -> Result<bool>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<bool> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<String> for Row
[src]
fn get(&self, index: usize) -> Result<String>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<String> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<f64> for Row
[src]
fn get(&self, index: usize) -> Result<f64>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<f64> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<f32> for Row
[src]
fn get(&self, index: usize) -> Result<f32>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<f32> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<i64> for Row
[src]
fn get(&self, index: usize) -> Result<i64>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<i64> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<i32> for Row
[src]
fn get(&self, index: usize) -> Result<i32>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<i32> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<SetIterator> for Row
[src]
fn get(&self, index: usize) -> Result<SetIterator>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<SetIterator> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<MapIterator> for Row
[src]
fn get(&self, index: usize) -> Result<MapIterator>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<MapIterator> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl AsRustType<Vec<u8>> for Row
[src]
fn get(&self, index: usize) -> Result<Vec<u8>>
[src]
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<Vec<u8>> where
S: Into<String>,
[src]
S: Into<String>,
convert while reading cassandra columns by name
impl IntoIterator for Row
[src]
type Item = Value
The type of the elements being iterated over.
type IntoIter = RowIterator
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates a new iterator for the specified row. This can be used to iterate over columns in a row.