Was this page helpful?
A user defined type.
Requires Apache Cassandra: 2.1+
Public Functions
Creates a new user defined type from existing data type;
Requires Apache Cassandra: 2.1+
See also
data_type – [in]
Returns a user defined type that must be freed. NULL is returned if the data type is not a user defined type.
Frees a user defined type instance.
Requires Apache Cassandra: 2.1+
user_type – [in]
Sets a null in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a null in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_null_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
Sets a “tinyint” in a user defined type at the specified index.
Requires Apache Cassandra: 2.2+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “tinyint” in a user defined type at the specified name.
Requires Apache Cassandra: 2.2+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_int8_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.2+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets an “smallint” in a user defined type at the specified index.
Requires Apache Cassandra: 2.2+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “smallint” in a user defined type at the specified name.
Requires Apache Cassandra: 2.2+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_int16_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.2+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets an “int” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “int” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_int32_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a “date” in a user defined type at the specified index.
Requires Apache Cassandra: 2.2+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “date” in a user defined type at the specified name.
Requires Apache Cassandra: 2.2+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_uint32_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.2+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets an “bigint”, “counter”, “timestamp” or “time” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “bigint”, “counter”, “timestamp” or “time” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_int64_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a “float” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “float” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_float_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets an “double” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “double” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_double_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a “boolean” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “boolean” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_double_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets an “ascii”, “text” or “varchar” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_string(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
index – [in]
value – [in]
value_length – [in]
same as cass_user_type_set_string()
Sets an “ascii”, “text” or “varchar” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_string_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
value_length – [in]
Sets a “blob” “varint” or “custom” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
value_size – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “blob”, “varint” or “custom” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
value_size – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_bytes_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
value_size – [in]
Sets a “custom” in a user defined type at the specified index.
user_type – [in]
index – [in]
class_name – [in]
value – [in]
value_size – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_custom(), but with lengths for string parameters.
See also
user_type – [in]
index – [in]
class_name – [in]
class_name_length – [in]
value – [in]
value_size – [in]
same as cass_user_type_set_custom()
Sets a “custom” in a user defined type at the specified name.
user_type – [in]
name – [in]
class_name – [in]
value – [in]
value_size – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_custom_by_name(), but with lengths for string parameters.
See also
user_type – [in]
name – [in]
name_length – [in]
class_name – [in]
class_name_length – [in]
value – [in]
value_size – [in]
Sets a “uuid” or “timeuuid” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “uuid” or “timeuuid” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_uuid_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a “inet” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “inet” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_inet_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets an “decimal” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
varint – [in]
varint_size – [in]
scale – [in]
CASS_OK if successful, otherwise an error occurred.
Sets “decimal” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
varint – [in]
varint_size – [in]
scale – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_decimal_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
varint – [in]
varint_size – [in]
scale – [in]
Sets a “duration” in a user defined type at the specified index.
Requires Apache Cassandra: 3.10+
user_type – [in]
index – [in]
months – [in]
days – [in]
nanos – [in]
CASS_OK if successful, otherwise an error occurred.
Sets “duration” in a user defined type at the specified name.
Requires Apache Cassandra: 3.10+
user_type – [in]
name – [in]
months – [in]
days – [in]
nanos – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_duration_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 3.10+
user_type – [in]
name – [in]
name_length – [in]
months – [in]
days – [in]
nanos – [in]
Sets a “list”, “map” or “set” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “list”, “map” or “set” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_collection_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a “tuple” in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “tuple” in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_tuple_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a user defined type in a user defined type at the specified index.
Requires Apache Cassandra: 2.1+
user_type – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a user defined type in a user defined type at the specified name.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_user_type_by_name(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
user_type – [in]
name – [in]
name_length – [in]
value – [in]
Sets a point in a user defined type at the specified index.
user_type – [in]
index – [in]
x – [in]
y – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a point in a user defined type at the specified name.
user_type – [in]
name – [in]
x – [in]
y – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_dse_point_by_name(), but with lengths for string parameters.
user_type – [in]
name – [in]
name_length – [in]
x – [in]
y – [in]
Sets a line string in a user defined type at the specified index.
user_type – [in]
index – [in]
line_string – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a line string in a user defined type at the specified name.
user_type – [in]
name – [in]
line_string – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_dse_line_string_by_name(), but with lengths for string parameters.
user_type – [in]
name – [in]
name_length – [in]
line_string – [in]
Sets a polygon in a user defined type at the specified index.
user_type – [in]
index – [in]
polygon – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a polygon in a user defined type at the specified name.
user_type – [in]
name – [in]
polygon – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_dse_polygon_by_name(), but with lengths for string parameters.
user_type – [in]
name – [in]
name_length – [in]
polygon – [in]
Sets a DateRange in a user defined type at the specified index.
user_type – [in]
index – [in]
range – [in]
CASS_OK if successful, otherwise an error occurred.
Sets DateRange in a user defined type at the specified name.
user_type – [in]
name – [in]
range – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_user_type_set_dse_date_range_by_name(), but with lengths for string parameters.
user_type – [in]
name – [in]
name_length – [in]
range – [in]
Was this page helpful?
On this page
CassUserType
CassUserType::cass_user_type_new_from_data_type()
CassUserType::cass_user_type_free()
CassUserType::cass_user_type_set_null()
CassUserType::cass_user_type_set_null_by_name()
CassUserType::cass_user_type_set_null_by_name_n()
CassUserType::cass_user_type_set_int8()
CassUserType::cass_user_type_set_int8_by_name()
CassUserType::cass_user_type_set_int8_by_name_n()
CassUserType::cass_user_type_set_int16()
CassUserType::cass_user_type_set_int16_by_name()
CassUserType::cass_user_type_set_int16_by_name_n()
CassUserType::cass_user_type_set_int32()
CassUserType::cass_user_type_set_int32_by_name()
CassUserType::cass_user_type_set_int32_by_name_n()
CassUserType::cass_user_type_set_uint32()
CassUserType::cass_user_type_set_uint32_by_name()
CassUserType::cass_user_type_set_uint32_by_name_n()
CassUserType::cass_user_type_set_int64()
CassUserType::cass_user_type_set_int64_by_name()
CassUserType::cass_user_type_set_int64_by_name_n()
CassUserType::cass_user_type_set_float()
CassUserType::cass_user_type_set_float_by_name()
CassUserType::cass_user_type_set_float_by_name_n()
CassUserType::cass_user_type_set_double()
CassUserType::cass_user_type_set_double_by_name()
CassUserType::cass_user_type_set_double_by_name_n()
CassUserType::cass_user_type_set_bool()
CassUserType::cass_user_type_set_bool_by_name()
CassUserType::cass_user_type_set_bool_by_name_n()
CassUserType::cass_user_type_set_string()
CassUserType::cass_user_type_set_string_n()
CassUserType::cass_user_type_set_string_by_name()
CassUserType::cass_user_type_set_string_by_name_n()
CassUserType::cass_user_type_set_bytes()
CassUserType::cass_user_type_set_bytes_by_name()
CassUserType::cass_user_type_set_bytes_by_name_n()
CassUserType::cass_user_type_set_custom()
CassUserType::cass_user_type_set_custom_n()
CassUserType::cass_user_type_set_custom_by_name()
CassUserType::cass_user_type_set_custom_by_name_n()
CassUserType::cass_user_type_set_uuid()
CassUserType::cass_user_type_set_uuid_by_name()
CassUserType::cass_user_type_set_uuid_by_name_n()
CassUserType::cass_user_type_set_inet()
CassUserType::cass_user_type_set_inet_by_name()
CassUserType::cass_user_type_set_inet_by_name_n()
CassUserType::cass_user_type_set_decimal()
CassUserType::cass_user_type_set_decimal_by_name()
CassUserType::cass_user_type_set_decimal_by_name_n()
CassUserType::cass_user_type_set_duration()
CassUserType::cass_user_type_set_duration_by_name()
CassUserType::cass_user_type_set_duration_by_name_n()
CassUserType::cass_user_type_set_collection()
CassUserType::cass_user_type_set_collection_by_name()
CassUserType::cass_user_type_set_collection_by_name_n()
CassUserType::cass_user_type_set_tuple()
CassUserType::cass_user_type_set_tuple_by_name()
CassUserType::cass_user_type_set_tuple_by_name_n()
CassUserType::cass_user_type_set_user_type()
CassUserType::cass_user_type_set_user_type_by_name()
CassUserType::cass_user_type_set_user_type_by_name_n()
CassUserType::cass_user_type_set_dse_point()
CassUserType::cass_user_type_set_dse_point_by_name()
CassUserType::cass_user_type_set_dse_point_by_name_n()
CassUserType::cass_user_type_set_dse_line_string()
CassUserType::cass_user_type_set_dse_line_string_by_name()
CassUserType::cass_user_type_set_dse_line_string_by_name_n()
CassUserType::cass_user_type_set_dse_polygon()
CassUserType::cass_user_type_set_dse_polygon_by_name()
CassUserType::cass_user_type_set_dse_polygon_by_name_n()
CassUserType::cass_user_type_set_dse_date_range()
CassUserType::cass_user_type_set_dse_date_range_by_name()
CassUserType::cass_user_type_set_dse_date_range_by_name_n()