Struct cassandra_cpp::Value
[−]
[src]
pub struct Value(_);
A single primitive value or a collection of values.
Methods
impl Value
[src]
fn get_bytes(&self) -> Result<&[u8]>
[src]
Get the raw bytes of this Cassandra value.
fn get_type(&self) -> ValueType
[src]
Get the type of this Cassandra value
fn data_type(&self) -> ConstDataType
[src]
Get the data type of this Cassandra value
fn is_null(&self) -> bool
[src]
Returns true if a specified value is null.
fn is_collection(&self) -> bool
[src]
Returns true if a specified value is a collection.
fn get_set(&self) -> Result<SetIterator>
[src]
Gets this value as a set iterator.
fn get_map(&self) -> Result<MapIterator>
[src]
Gets this value as a map iterator.
fn get_user_type(&self) -> Result<UserTypeIterator>
[src]
Gets an iterator over the fields of the user type in this column or errors if you ask for the wrong type
fn get_str(&self) -> Result<&str>
[src]
Get this value as a string slice
fn get_string(&self) -> Result<String>
[src]
Get this value as a string
fn get_inet(&self) -> Result<Inet>
[src]
Get this value as an Inet
fn get_i32(&self) -> Result<i32>
[src]
Get this value as an i32
fn get_u32(&self) -> Result<u32>
[src]
Get this value as a u32
fn get_i16(&self) -> Result<i16>
[src]
Get this value as an i16
fn get_i8(&self) -> Result<i8>
[src]
Get this value as an i8
fn get_i64(&self) -> Result<i64>
[src]
Get this value as an i64
fn get_f32(&self) -> Result<f32>
[src]
Get this value as a float
fn get_f64(&self) -> Result<f64>
[src]
Get this value as a double
fn get_bool(&self) -> Result<bool>
[src]
Get this value asa boolean
fn get_uuid(&self) -> Result<Uuid>
[src]
Get this value as a UUID