Was this page helpful?
A data type used to describe a value, collection or user defined type.
Public Functions
Creates a new data type with value type.
See also
type – [in]
Returns a data type that must be freed.
Creates a new data type from an existing data type.
See also
data_type – [in]
Returns a data type that must be freed.
Creates a new tuple data type.
Requires Apache Cassandra: 2.1+
See also
item_count – [in] The number of items in the tuple
Returns a data type that must be freed.
Creates a new UDT (user defined type) data type.
Requires Apache Cassandra: 2.1+
See also
field_count – [in] The number of fields in the UDT
Returns a data type that must be freed.
Frees a data type instance.
data_type – [in]
Same as cass_data_type_set_type_name(), but with lengths for string parameters.
data_type – [in]
type_name – [in]
type_name_length – [in]
Returns a data type that must be freed.
Same as cass_data_type_set_keyspace(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
data_type – [in]
keyspace – [in]
keyspace_length – [in]
Returns a data type that must be freed.
Same as cass_data_type_set_class_name(), but with lengths for string parameters.
data_type – [in]
class_name – [in]
class_name_length – [in]
Returns a data type that must be freed.
Same as cass_data_type_sub_data_type_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
data_type – [in]
name – [in]
name_length – [in]
Returns a reference to a child data type. Do not free this reference as it is bound to the lifetime of the parent data type. NULL is returned if the name doesn’t exist.
Was this page helpful?
On this page
CassDataType
CassDataType::cass_data_type_new()
CassDataType::cass_data_type_new_from_existing()
CassDataType::cass_data_type_new_tuple()
CassDataType::cass_data_type_new_udt()
CassDataType::cass_data_type_free()
CassDataType::cass_data_type_set_type_name_n()
CassDataType::cass_data_type_set_keyspace_n()
CassDataType::cass_data_type_set_class_name_n()
CassDataType::cass_data_type_sub_data_type_by_name_n()