struct CassValue
A single primitive value or a collection of values.
Functions
Creates a new iterator for the specified collection. This can be used to iterate over values in a collection.
Creates a new iterator for the specified map. This can be used to iterate over key/value pairs in a map.
Creates a new iterator for the specified tuple. This can be used to iterate over values in a tuple.
Creates a new iterator for the specified user defined type. This can be used to iterate over fields in a user defined type.
Gets the data type of a value.
Gets an int8 for the specified value.
Gets an int16 for the specified value.
Gets an int32 for the specified value.
Gets an uint32 for the specified value.
Gets an int64 for the specified value.
Gets a float for the specified value.
Gets a double for the specified value.
Gets a bool for the specified value.
Gets a UUID for the specified value.
Gets an INET for the specified value.
CassError
cass_value_get_string
(const CassValue *
value, const char **
output, size_t *
output_size )
Gets a string for the specified value.
CassError
cass_value_get_bytes
(const CassValue *
value, const cass_byte_t **
output, size_t *
output_size )
Gets the bytes of the specified value.
CassError
cass_value_get_decimal
(const CassValue *
value, const cass_byte_t **
varint, size_t *
varint_size, cass_int32_t *
scale )
Gets a decimal for the specified value.
Gets the type of the specified value.
Returns true if a specified value is null.
Returns true if a specified value is a collection.
Get the number of items in a collection. Works for all collection types.
Get the primary sub-type for a collection. This returns the sub-type for a list or set and the key type for a map.
Get the secondary sub-type for a collection. This returns the value type for a map.