struct CassCollection
A collection of values.
Functions
Creates a new collection.
CassCollection *
cass_collection_new_from_data_type
(const CassDataType *
data_type, size_t
item_count )
Creates a new collection from an existing data type.
Frees a collection instance.
Appends an “int” to the collection.
Appends a “bigint”, “counter” or “timestamp” to the collection.
Appends a “float” to the collection.
Appends a “double” to the collection.
Appends a “boolean” to the collection.
Appends an “ascii”, “text” or “varchar” to the collection.
CassError
cass_collection_append_string_n
(CassCollection *
collection, const char *
value, size_t
value_length )
Same as CassCollection::cass_collection_append_string
, but with lengths for string parameters.
CassError
cass_collection_append_bytes
(CassCollection *
collection, const cass_byte_t *
value, size_t
value_size )
Appends a “blob”, “varint” or “custom” to the collection.
Appends a “uuid” or “timeuuid” to the collection.
Appends an “inet” to the collection.
CassError
cass_collection_append_decimal
(CassCollection *
collection, const cass_byte_t *
varint, size_t
varint_size, cass_int32_t
scale )
Appends a “decimal” to the collection.
CassError
cass_collection_append_collection
(CassCollection *
collection, const CassCollection *
value )
Appends a “list”, “map” or “set” to the collection.
Appends a “tuple” to the collection.
CassError
cass_collection_append_user_type
(CassCollection *
collection, const CassUserType *
value )
Appends a “udt” to the collection.