Menu

CassUserType

struct CassUserType

A user defined type.

Requires Apache Cassandra: 2.1+

Public Functions

CassUserType *cass_user_type_new_from_data_type(const CassDataType *data_type)

Creates a new user defined type from existing data type;

Requires Apache Cassandra: 2.1+

Return

Returns a user defined type that must be freed. NULL is returned if the data type is not a user defined type.

See

cass_user_type_free()

Parameters
  • data_type:

void cass_user_type_free(CassUserType *user_type)

Frees a user defined type instance.

Requires Apache Cassandra: 2.1+

Parameters
  • user_type:

CassError cass_user_type_set_null(CassUserType *user_type, size_t index)

Sets a null in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

CassError cass_user_type_set_null_by_name(CassUserType *user_type, const char *name)

Sets a null in a user defined type at the specified name.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

CassError cass_user_type_set_null_by_name_n(CassUserType *user_type, const char *name, size_t name_length)

Same as cass_user_type_set_null_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_null_by_name()

See

cass_user_type_set_null_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

CassError cass_user_type_set_int8(CassUserType *user_type, size_t index, cass_int8_t value)

Sets a “tinyint” in a user defined type at the specified index.

Requires Apache Cassandra: 2.2+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.2+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_int8_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.2+

Return

same as cass_user_type_set_int8_by_name()

See

cass_user_type_set_int8_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_int16(CassUserType *user_type, size_t index, cass_int16_t value)

Sets an “smallint” in a user defined type at the specified index.

Requires Apache Cassandra: 2.2+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.2+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_int16_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.2+

Return

same as cass_user_type_set_int16_by_name()

See

cass_user_type_set_int16_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_int32(CassUserType *user_type, size_t index, cass_int32_t value)

Sets an “int” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_int32_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_int32_by_name()

See

cass_user_type_set_int32_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_uint32(CassUserType *user_type, size_t index, cass_uint32_t value)

Sets a “date” in a user defined type at the specified index.

Requires Apache Cassandra: 2.2+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.2+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_uint32_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.2+

Return

same as cass_user_type_set_uint32_by_name()

See

cass_user_type_set_uint32_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_int64(CassUserType *user_type, size_t index, cass_int64_t value)

Sets an “bigint”, “counter”, “timestamp” or “time” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_int64_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_int64_by_name()

See

cass_user_type_set_int64_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_float(CassUserType *user_type, size_t index, cass_float_t value)

Sets a “float” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_float_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_float_by_name()

See

cass_user_type_set_float_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_double(CassUserType *user_type, size_t index, cass_double_t value)

Sets an “double” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_double_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_double_by_name()

See

cass_user_type_set_double_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_bool(CassUserType *user_type, size_t index, cass_bool_t value)

Sets a “boolean” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_double_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_double_by_name()

See

cass_user_type_set_double_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_string(CassUserType *user_type, size_t index, const char *value)

Sets an “ascii”, “text” or “varchar” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

CassError cass_user_type_set_string_n(CassUserType *user_type, size_t index, const char *value, size_t value_length)

Same as cass_user_type_set_string(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_string()

See

cass_user_type_set_string()

Parameters
  • user_type:

  • index:

  • value:

  • value_length:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_string_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_string_by_name()

See

cass_user_type_set_string_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

  • value_length:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

  • value_size:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

  • value_size:

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 cass_user_type_set_bytes_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_bytes_by_name()

See

cass_user_type_set_bytes_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

  • value_size:

CassError cass_user_type_set_custom(CassUserType *user_type, size_t index, const char *class_name, const cass_byte_t *value, size_t value_size)

Sets a “custom” in a user defined type at the specified index.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • class_name:

  • value:

  • value_size:

CassError cass_user_type_set_custom_n(CassUserType *user_type, size_t index, const char *class_name, size_t class_name_length, const cass_byte_t *value, size_t value_size)

Same as cass_user_type_set_custom(), but with lengths for string parameters.

Return

same as cass_user_type_set_custom()

See

cass_user_type_set_custom()

Parameters
  • user_type:

  • index:

  • class_name:

  • class_name_length:

  • value:

  • value_size:

CassError cass_user_type_set_custom_by_name(CassUserType *user_type, const char *name, const char *class_name, const cass_byte_t *value, size_t value_size)

Sets a “custom” in a user defined type at the specified name.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • class_name:

  • value:

  • value_size:

CassError cass_user_type_set_custom_by_name_n(CassUserType *user_type, const char *name, size_t name_length, const char *class_name, size_t class_name_length, const cass_byte_t *value, size_t value_size)

Same as cass_user_type_set_custom_by_name(), but with lengths for string parameters.

Return

same as cass_user_type_set_custom_by_name()

See

cass_user_type_set_custom_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • class_name:

  • class_name_length:

  • value:

  • value_size:

CassError cass_user_type_set_uuid(CassUserType *user_type, size_t index, CassUuid value)

Sets a “uuid” or “timeuuid” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

CassError cass_user_type_set_uuid_by_name_n(CassUserType *user_type, const char *name, size_t name_length, CassUuid value)

Same as cass_user_type_set_uuid_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_uuid_by_name()

See

cass_user_type_set_uuid_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_inet(CassUserType *user_type, size_t index, CassInet value)

Sets a “inet” in a user defined type at the specified index.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

CassError cass_user_type_set_inet_by_name_n(CassUserType *user_type, const char *name, size_t name_length, CassInet value)

Same as cass_user_type_set_inet_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_inet_by_name()

See

cass_user_type_set_inet_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • varint:

  • varint_size:

  • scale:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • varint:

  • varint_size:

  • scale:

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 cass_user_type_set_decimal_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_decimal_by_name()

See

cass_user_type_set_decimal_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • varint:

  • varint_size:

  • scale:

CassError cass_user_type_set_duration(CassUserType *user_type, size_t index, cass_int32_t months, cass_int32_t days, cass_int64_t nanos)

Sets a “duration” in a user defined type at the specified index.

Requires Apache Cassandra: 3.10+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • months:

  • days:

  • nanos:

CassError cass_user_type_set_duration_by_name(CassUserType *user_type, const char *name, cass_int32_t months, cass_int32_t days, cass_int64_t nanos)

Sets “duration” in a user defined type at the specified name.

Requires Apache Cassandra: 3.10+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • months:

  • days:

  • nanos:

CassError cass_user_type_set_duration_by_name_n(CassUserType *user_type, const char *name, size_t name_length, cass_int32_t months, cass_int32_t days, cass_int64_t nanos)

Same as cass_user_type_set_duration_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 3.10+

Return

same as cass_user_type_set_duration_by_name()

See

cass_user_type_set_duration_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • months:

  • days:

  • nanos:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

CassError cass_user_type_set_collection_by_name_n(CassUserType *user_type, const char *name, size_t name_length, const CassCollection *value)

Same as cass_user_type_set_collection_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_collection_by_name()

See

cass_user_type_set_collection_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

CassError cass_user_type_set_tuple_by_name_n(CassUserType *user_type, const char *name, size_t name_length, const CassTuple *value)

Same as cass_user_type_set_tuple_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_tuple_by_name()

See

cass_user_type_set_tuple_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • value:

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.

Requires Apache Cassandra: 2.1+

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • value:

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 cass_user_type_set_user_type_by_name(), but with lengths for string parameters.

Requires Apache Cassandra: 2.1+

Return

same as cass_user_type_set_user_type_by_name()

See

cass_user_type_set_user_type_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • value:

CassError cass_user_type_set_dse_point(CassUserType *user_type, size_t index, cass_double_t x, cass_double_t y)

Sets a point in a user defined type at the specified index.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • x:

  • y:

CassError cass_user_type_set_dse_point_by_name(CassUserType *user_type, const char *name, cass_double_t x, cass_double_t y)

Sets a point in a user defined type at the specified name.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • x:

  • y:

CassError cass_user_type_set_dse_point_by_name_n(CassUserType *user_type, const char *name, size_t name_length, cass_double_t x, cass_double_t y)

Same as cass_user_type_set_dse_point_by_name(), but with lengths for string parameters.

Return

same as cass_user_type_set_dse_point_by_name()

See

cass_user_type_set_dse_point_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • x:

  • y:

CassError cass_user_type_set_dse_line_string(CassUserType *user_type, size_t index, const DseLineString *line_string)

Sets a line string in a user defined type at the specified index.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • line_string:

CassError cass_user_type_set_dse_line_string_by_name(CassUserType *user_type, const char *name, const DseLineString *line_string)

Sets a line string in a user defined type at the specified name.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • line_string:

CassError cass_user_type_set_dse_line_string_by_name_n(CassUserType *user_type, const char *name, size_t name_length, const DseLineString *line_string)

Same as cass_user_type_set_dse_line_string_by_name(), but with lengths for string parameters.

Return

same as cass_user_type_set_dse_line_string_by_name()

See

cass_user_type_set_dse_line_string_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • line_string:

CassError cass_user_type_set_dse_polygon(CassUserType *user_type, size_t index, const DsePolygon *polygon)

Sets a polygon in a user defined type at the specified index.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • polygon:

CassError cass_user_type_set_dse_polygon_by_name(CassUserType *user_type, const char *name, const DsePolygon *polygon)

Sets a polygon in a user defined type at the specified name.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • polygon:

CassError cass_user_type_set_dse_polygon_by_name_n(CassUserType *user_type, const char *name, size_t name_length, const DsePolygon *polygon)

Same as cass_user_type_set_dse_polygon_by_name(), but with lengths for string parameters.

Return

same as cass_user_type_set_dse_polygon_by_name()

See

cass_user_type_set_dse_polygon_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • polygon:

CassError cass_user_type_set_dse_date_range(CassUserType *user_type, size_t index, const DseDateRange *range)

Sets a DateRange in a user defined type at the specified index.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • index:

  • range:

CassError cass_user_type_set_dse_date_range_by_name(CassUserType *user_type, const char *name, const DseDateRange *range)

Sets DateRange in a user defined type at the specified name.

Return

CASS_OK if successful, otherwise an error occurred.

Parameters
  • user_type:

  • name:

  • range:

CassError cass_user_type_set_dse_date_range_by_name_n(CassUserType *user_type, const char *name, size_t name_length, const DseDateRange *range)

Same as cass_user_type_set_dse_date_range_by_name(), but with lengths for string parameters.

Return

same as cass_user_type_set_dse_date_range_by_name()

See

cass_user_type_set_dse_date_range_by_name()

Parameters
  • user_type:

  • name:

  • name_length:

  • range: