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