struct CassCollection
A collection of values.
Functions
CassError cass_collection_append_dse_point
(CassCollection * collection, cass_double_t x, cass_double_t y )
Appends a point to the collection.
CassError cass_collection_append_dse_line_string
(CassCollection * collection, const DseLineString * line_string )
Appends a line string to the collection.
CassError cass_collection_append_dse_polygon
(CassCollection * collection, const DsePolygon * polygon )
Appends a polygon to the collection.
CassError cass_collection_append_dse_date_range
(CassCollection * collection, const DseDateRange * range )
Appends a DateRange to the collection.
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 a “tinyint” to the collection.
Requires Cassandra: 2.2+
Appends an “smallint” to the collection.
Requires Cassandra: 2.2+
Appends an “int” to the collection.
Appends a “date” to the collection.
Requires Cassandra: 2.2+
Appends a “bigint”, “counter”, “timestamp” or “time” 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.
CassError cass_collection_append_custom
(CassCollection * collection, const char * class_name, const cass_byte_t * value, size_t value_size )
Appends a “custom” to the collection.
CassError cass_collection_append_custom_n
(CassCollection * collection, const char * class_name, size_t class_name_length, const cass_byte_t * value, size_t value_size )
Same as CassCollection::cass_collection_append_custom, but with lengths for string parameters.
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_duration
(CassCollection * collection, cass_int32_t months, cass_int32_t days, cass_int64_t nanos )
Appends a “duration” to the collection.
Requires Cassandra: 3.10+
CassError cass_collection_append_collection
(CassCollection * collection, const CassCollection * value )
Appends a “list”, “map” or “set” to the collection.
Requires Cassandra: 2.1+
Appends a “tuple” to the collection.
Requires Cassandra: 2.1+
CassError cass_collection_append_user_type
(CassCollection * collection, const CassUserType * value )
Appends a “udt” to the collection.
Requires Cassandra: 2.1+