Was this page helpful?
A collection of values.
Public Functions
Creates a new collection.
See also
type – [in]
item_count – [in] The approximate number of items in the collection.
Returns a collection that must be freed.
Creates a new collection from an existing data type.
See also
data_type – [in]
item_count – [in] The approximate number of items in the collection.
Returns a collection that must be freed.
Frees a collection instance.
collection – [in]
Appends a “tinyint” to the collection.
Requires Apache Cassandra: 2.2+
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends an “smallint” to the collection.
Requires Apache Cassandra: 2.2+
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends an “int” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “date” to the collection.
Requires Apache Cassandra: 2.2+
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “bigint”, “counter”, “timestamp” or “time” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “float” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “double” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “boolean” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends an “ascii”, “text” or “varchar” to the collection.
collection – [in]
value – [in] The value is copied into the collection object; the memory pointed to by this parameter can be freed after this call.
CASS_OK if successful, otherwise an error occurred.
Same as cass_collection_append_string(), but with lengths for string parameters.
See also
collection – [in]
value – [in]
value_length – [in]
same as cass_collection_append_string()
Appends a “blob”, “varint” or “custom” to the collection.
collection – [in]
value – [in] The value is copied into the collection object; the memory pointed to by this parameter can be freed after this call.
value_size – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “custom” to the collection.
collection – [in]
class_name – [in]
value – [in] The value is copied into the collection object; the memory pointed to by this parameter can be freed after this call.
value_size – [in]
CASS_OK if successful, otherwise an error occurred.
Same as cass_collection_append_custom(), but with lengths for string parameters.
See also
collection – [in]
class_name – [in]
class_name_length – [in]
value – [in]
value_size – [in]
same as cass_collection_append_custom()
Appends a “uuid” or “timeuuid” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends an “inet” to the collection.
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “decimal” to the collection.
collection – [in]
varint – [in] The value is copied into the collection object; the memory pointed to by this parameter can be freed after this call.
varint_size – [in]
scale – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “duration” to the collection.
Requires Apache Cassandra: 3.10+
collection – [in]
months – [in]
days – [in]
nanos – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “list”, “map” or “set” to the collection.
Requires Apache Cassandra: 2.1+
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “tuple” to the collection.
Requires Apache Cassandra: 2.1+
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a “udt” to the collection.
Requires Apache Cassandra: 2.1+
collection – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a point to the collection.
collection – [in]
x – [in]
y – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a line string to the collection.
collection – [in]
line_string – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a polygon to the collection.
collection – [in]
polygon – [in]
CASS_OK if successful, otherwise an error occurred.
Appends a DateRange to the collection.
collection – [in]
range – [in]
CASS_OK if successful, otherwise an error occurred.
Was this page helpful?
On this page
CassCollection
CassCollection::cass_collection_new()
CassCollection::cass_collection_new_from_data_type()
CassCollection::cass_collection_free()
CassCollection::cass_collection_append_int8()
CassCollection::cass_collection_append_int16()
CassCollection::cass_collection_append_int32()
CassCollection::cass_collection_append_uint32()
CassCollection::cass_collection_append_int64()
CassCollection::cass_collection_append_float()
CassCollection::cass_collection_append_double()
CassCollection::cass_collection_append_bool()
CassCollection::cass_collection_append_string()
CassCollection::cass_collection_append_string_n()
CassCollection::cass_collection_append_bytes()
CassCollection::cass_collection_append_custom()
CassCollection::cass_collection_append_custom_n()
CassCollection::cass_collection_append_uuid()
CassCollection::cass_collection_append_inet()
CassCollection::cass_collection_append_decimal()
CassCollection::cass_collection_append_duration()
CassCollection::cass_collection_append_collection()
CassCollection::cass_collection_append_tuple()
CassCollection::cass_collection_append_user_type()
CassCollection::cass_collection_append_dse_point()
CassCollection::cass_collection_append_dse_line_string()
CassCollection::cass_collection_append_dse_polygon()
CassCollection::cass_collection_append_dse_date_range()