Struct cassandra_cpp::Column
[−]
[src]
pub struct Column(_);
Representation of a Cassandra column
Methods
impl Column
[src]
fn get_type(&self) -> ValueType
Gets the type of this column.
fn get_inet(&self) -> Result<Inet>
Gets the inet from this column or errors if you ask for the wrong type
fn get_u32(&self, output: u32) -> Result<u32>
Gets the u32 from this column or errors if you ask for the wrong type
fn get_i8(&self, output: i8) -> Result<i8>
Gets the i8 from this column or errors if you ask for the wrong type
fn get_i16(&self, output: i16) -> Result<i16>
Gets the i16 from this column or errors if you ask for the wrong type
fn get_string(&self) -> Result<String>
Gets the string from this column or errors if you ask for the wrong type
fn get_blob(&self) -> Result<Vec<u8>>
Gets the blog from this column or errors if type if wrong
fn get_i32(&self) -> Result<i32>
Gets the i32 from this column or errors if you ask for the wrong type
fn get_i64(&self) -> Result<i64>
Gets the i64 from this column or errors if you ask for the wrong type
fn get_float(&self) -> Result<f32>
Gets the float from this column or errors if you ask for the wrong type
fn get_double(&self) -> Result<f64>
Gets the double from this column or errors if you ask for the wrong type
fn get_bool(&self) -> Result<bool>
Gets the bool from this column or errors if you ask for the wrong type
fn get_uuid(&self) -> Result<Uuid>
Gets the uuid from this column or errors if you ask for the wrong type
fn is_null(&self) -> bool
Tests whether the column is null.
fn map_iter(&self) -> Result<MapIterator>
Gets an iterator over the map in this column or errors if you ask for the wrong type
fn set_iter(&self) -> Result<SetIterator>
Gets an iterator over the set in this column or errors if you ask for the wrong type
fn use_type_iter(&self) -> Result<UserTypeIterator>
Gets an iterator over the fields of the user type in this column or errors if you ask for the wrong type