struct CassValue
A single primitive value or a collection of values.
Functions
Gets a date-range for the specified value.
CassError
cass_value_get_dse_point
(const CassValue *
value, cass_double_t *
x, cass_double_t *
y )
Gets a point for the specified value.
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.
Requires Cassandra: 2.1+
Creates a new iterator for the specified user defined type. This can be used to iterate over fields in a user defined type.
Requires Cassandra: 2.1+
Gets the data type of a value.
Gets an int8 for the specified value.
Requires Cassandra: 2.2+
Gets an int16 for the specified value.
Requires Cassandra: 2.2+
Gets an int32 for the specified value.
Gets an uint32 for the specified value.
Requires Cassandra: 2.2+
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.
CassError
cass_value_get_duration
(const CassValue *
value, cass_int32_t *
months, cass_int32_t *
days, cass_int64_t *
nanos )
Gets a duration for the specified value.
Requires Cassandra: 3.10+
Gets the type of the specified value.
Returns true if a specified value is null.
Returns true if a specified value is a collection.
Returns true if a specified value is a duration.
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.