struct CassUserType
A user defined type.
Functions
Creates a new user defined type from existing data type;
Frees a user defined type instance.
Sets a null in a user defined type at the specified index.
Sets a null in a user defined type at the specified name.
CassError cass_user_type_set_null_by_name_n
(CassUserType * user_type, const char * name, size_t name_length )
Same as CassUserType::cass_user_type_set_null_by_name, but with lengths for string parameters.
Sets a “tinyint” in a user defined type at the specified index.
CassError cass_user_type_set_int8_by_name
(CassUserType * user_type, const char * name, cass_int8_t value )
Sets a “tinyint” in a user defined type at the specified name.
CassError cass_user_type_set_int8_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_int8_t value )
Same as CassUserType::cass_user_type_set_int8_by_name, but with lengths for string parameters.
Sets an “smallint” in a user defined type at the specified index.
CassError cass_user_type_set_int16_by_name
(CassUserType * user_type, const char * name, cass_int16_t value )
Sets an “smallint” in a user defined type at the specified name.
CassError cass_user_type_set_int16_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_int16_t value )
Same as CassUserType::cass_user_type_set_int16_by_name, but with lengths for string parameters.
Sets an “int” in a user defined type at the specified index.
CassError cass_user_type_set_int32_by_name
(CassUserType * user_type, const char * name, cass_int32_t value )
Sets an “int” in a user defined type at the specified name.
CassError cass_user_type_set_int32_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_int32_t value )
Same as CassUserType::cass_user_type_set_int32_by_name, but with lengths for string parameters.
Sets a “date” in a user defined type at the specified index.
CassError cass_user_type_set_uint32_by_name
(CassUserType * user_type, const char * name, cass_uint32_t value )
Sets a “date” in a user defined type at the specified name.
CassError cass_user_type_set_uint32_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_uint32_t value )
Same as CassUserType::cass_user_type_set_uint32_by_name, but with lengths for string parameters.
Sets an “bigint”, “counter”, “timestamp” or “time” in a user defined type at the specified index.
CassError cass_user_type_set_int64_by_name
(CassUserType * user_type, const char * name, cass_int64_t value )
Sets an “bigint”, “counter”, “timestamp” or “time” in a user defined type at the specified name.
CassError cass_user_type_set_int64_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_int64_t value )
Same as CassUserType::cass_user_type_set_int64_by_name, but with lengths for string parameters.
Sets a “float” in a user defined type at the specified index.
CassError cass_user_type_set_float_by_name
(CassUserType * user_type, const char * name, cass_float_t value )
Sets a “float” in a user defined type at the specified name.
CassError cass_user_type_set_float_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_float_t value )
Same as CassUserType::cass_user_type_set_float_by_name, but with lengths for string parameters.
Sets an “double” in a user defined type at the specified index.
CassError cass_user_type_set_double_by_name
(CassUserType * user_type, const char * name, cass_double_t value )
Sets an “double” in a user defined type at the specified name.
CassError cass_user_type_set_double_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_double_t value )
Same as CassUserType::cass_user_type_set_double_by_name, but with lengths for string parameters.
Sets a “boolean” in a user defined type at the specified index.
CassError cass_user_type_set_bool_by_name
(CassUserType * user_type, const char * name, cass_bool_t value )
Sets a “boolean” in a user defined type at the specified name.
CassError cass_user_type_set_bool_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, cass_bool_t value )
Same as CassUserType::cass_user_type_set_double_by_name, but with lengths for string parameters.
Sets an “ascii”, “text” or “varchar” in a user defined type at the specified index.
CassError cass_user_type_set_string_n
(CassUserType * user_type, size_t index, const char * value, size_t value_length )
Same as CassUserType::cass_user_type_set_string, but with lengths for string parameters.
CassError cass_user_type_set_string_by_name
(CassUserType * user_type, const char * name, const char * value )
Sets an “ascii”, “text” or “varchar” in a user defined type at the specified name.
CassError cass_user_type_set_string_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, const char * value, size_t value_length )
Same as CassUserType::cass_user_type_set_string_by_name, but with lengths for string parameters.
CassError cass_user_type_set_bytes
(CassUserType * user_type, size_t index, const cass_byte_t * value, size_t value_size )
Sets a “blob” “varint” or “custom” in a user defined type at the specified index.
CassError cass_user_type_set_bytes_by_name
(CassUserType * user_type, const char * name, const cass_byte_t * value, size_t value_size )
Sets a “blob”, “varint” or “custom” in a user defined type at the specified name.
CassError cass_user_type_set_bytes_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, const cass_byte_t * value, size_t value_size )
Same as CassUserType::cass_user_type_set_bytes_by_name, but with lengths for string parameters.
Sets a “uuid” or “timeuuid” in a user defined type at the specified index.
CassError cass_user_type_set_uuid_by_name
(CassUserType * user_type, const char * name, CassUuid value )
Sets a “uuid” or “timeuuid” in a user defined type at the specified name.
CassError cass_user_type_set_uuid_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, CassUuid value )
Same as CassUserType::cass_user_type_set_uuid_by_name, but with lengths for string parameters.
Sets a “inet” in a user defined type at the specified index.
CassError cass_user_type_set_inet_by_name
(CassUserType * user_type, const char * name, CassInet value )
Sets a “inet” in a user defined type at the specified name.
CassError cass_user_type_set_inet_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, CassInet value )
Same as CassUserType::cass_user_type_set_inet_by_name, but with lengths for string parameters.
CassError cass_user_type_set_decimal
(CassUserType * user_type, size_t index, const cass_byte_t * varint, size_t varint_size, int scale )
Sets an “decimal” in a user defined type at the specified index.
CassError cass_user_type_set_decimal_by_name
(CassUserType * user_type, const char * name, const cass_byte_t * varint, size_t varint_size, int scale )
Sets “decimal” in a user defined type at the specified name.
CassError cass_user_type_set_decimal_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, const cass_byte_t * varint, size_t varint_size, int scale )
Same as CassUserType::cass_user_type_set_decimal_by_name, but with lengths for string parameters.
CassError cass_user_type_set_collection
(CassUserType * user_type, size_t index, const CassCollection * value )
Sets a “list”, “map” or “set” in a user defined type at the specified index.
CassError cass_user_type_set_collection_by_name
(CassUserType * user_type, const char * name, const CassCollection * value )
Sets a “list”, “map” or “set” in a user defined type at the specified name.
CassError cass_user_type_set_collection_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, const CassCollection * value )
Same as CassUserType::cass_user_type_set_collection_by_name, but with lengths for string parameters.
CassError cass_user_type_set_tuple
(CassUserType * user_type, size_t index, const CassTuple * value )
Sets a “tuple” in a user defined type at the specified index.
CassError cass_user_type_set_tuple_by_name
(CassUserType * user_type, const char * name, const CassTuple * value )
Sets a “tuple” in a user defined type at the specified name.
CassError cass_user_type_set_tuple_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, const CassTuple * value )
Same as CassUserType::cass_user_type_set_tuple_by_name, but with lengths for string parameters.
CassError cass_user_type_set_user_type
(CassUserType * user_type, size_t index, const CassUserType * value )
Sets a user defined type in a user defined type at the specified index.
CassError cass_user_type_set_user_type_by_name
(CassUserType * user_type, const char * name, const CassUserType * value )
Sets a user defined type in a user defined type at the specified name.
CassError cass_user_type_set_user_type_by_name_n
(CassUserType * user_type, const char * name, size_t name_length, const CassUserType * value )
Same as CassUserType::cass_user_type_set_user_type_by_name, but with lengths for string parameters.