Was this page helpful?
A single primitive value or a collection of values.
Public Functions
Creates a new iterator for the specified collection. This can be used to iterate over values in a collection.
See also
value – [in]
A new iterator that must be freed. NULL returned if the value is not a collection.
Creates a new iterator for the specified map. This can be used to iterate over key/value pairs in a map.
See also
value – [in]
A new iterator that must be freed. NULL returned if the value is not a map.
Creates a new iterator for the specified tuple. This can be used to iterate over values in a tuple.
Requires Apache Cassandra: 2.1+
See also
value – [in]
A new iterator that must be freed. NULL returned if the value is not 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.
Requires Apache Cassandra: 2.1+
See also
value – [in]
A new iterator that must be freed. NULL returned if the value is not a user defined type.
Gets the data type of a value.
value – [in]
Returns a reference to the data type of the value. Do not free this reference as it is bound to the lifetime of the value.
Gets an int8 for the specified value.
Requires Apache Cassandra: 2.2+
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets an int16 for the specified value.
Requires Apache Cassandra: 2.2+
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets an int32 for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets an uint32 for the specified value.
Requires Apache Cassandra: 2.2+
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets an int64 for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets a float for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets a double for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets a bool for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets a UUID for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets an INET for the specified value.
value – [in]
output – [out]
CASS_OK if successful, otherwise error occurred
Gets a string for the specified value.
value – [in]
output – [out]
output_size – [out]
CASS_OK if successful, otherwise error occurred
Gets the bytes of the specified value.
value – [in]
output – [out]
output_size – [out]
CASS_OK if successful, otherwise error occurred
Gets a decimal for the specified value.
value – [in]
varint – [out]
varint_size – [out]
scale – [out]
CASS_OK if successful, otherwise error occurred
Gets a duration for the specified value.
Requires Apache Cassandra: 3.10+
value – [in]
months – [out]
days – [out]
nanos – [out]
CASS_OK if successful, otherwise error occurred
Gets the type of the specified value.
value – [in]
The type of the specified value.
Returns true if a specified value is null.
value – [in]
true if the value is null, otherwise false.
Returns true if a specified value is a collection.
value – [in]
true if the value is a collection, otherwise false.
Returns true if a specified value is a duration.
value – [in]
true if the value is a duration, otherwise false.
Get the number of items in a collection. Works for all collection types.
collection – [in]
Count of items in a collection. 0 if not a collection.
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.
collection – [in]
The type of the primary sub-type. CASS_VALUE_TYPE_UNKNOWN returned if not a collection.
Get the secondary sub-type for a collection. This returns the value type for a map.
collection – [in]
The type of the primary sub-type. CASS_VALUE_TYPE_UNKNOWN returned if not a collection or not a map.
Gets a date-range for the specified value.
value – [in]
range – [out]
CASS_OK if successful, otherwise error occurred
Was this page helpful?
On this page
CassValue
CassValue::cass_iterator_from_collection()
CassValue::cass_iterator_from_map()
CassValue::cass_iterator_from_tuple()
CassValue::cass_iterator_fields_from_user_type()
CassValue::cass_value_data_type()
CassValue::cass_value_get_int8()
CassValue::cass_value_get_int16()
CassValue::cass_value_get_int32()
CassValue::cass_value_get_uint32()
CassValue::cass_value_get_int64()
CassValue::cass_value_get_float()
CassValue::cass_value_get_double()
CassValue::cass_value_get_bool()
CassValue::cass_value_get_uuid()
CassValue::cass_value_get_inet()
CassValue::cass_value_get_string()
CassValue::cass_value_get_bytes()
CassValue::cass_value_get_decimal()
CassValue::cass_value_get_duration()
CassValue::cass_value_type()
CassValue::cass_value_is_null()
CassValue::cass_value_is_collection()
CassValue::cass_value_is_duration()
CassValue::cass_value_item_count()
CassValue::cass_value_primary_sub_type()
CassValue::cass_value_secondary_sub_type()
CassValue::cass_value_get_dse_date_range()
CassValue::cass_value_get_dse_point()