struct CassTuple
A tuple of values.
Requires Apache Cassandra: 2.1+
Functions
Creates a new tuple.
Requires Apache Cassandra: 2.1+
Creates a new tuple from an existing data type.
Requires Apache Cassandra: 2.1+
Frees a tuple instance.
Requires Apache Cassandra: 2.1+
Sets an null in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “tinyint” in a tuple at the specified index.
Requires Apache Cassandra: 2.2+
Sets an “smallint” in a tuple at the specified index.
Requires Apache Cassandra: 2.2+
Sets an “int” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “date” in a tuple at the specified index.
Requires Apache Cassandra: 2.2+
Sets a “bigint”, “counter”, “timestamp” or “time” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “float” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “double” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “boolean” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets an “ascii”, “text” or “varchar” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
CassError cass_tuple_set_string_n
(CassTuple * tuple, size_t index, const char * value, size_t value_length )
Same as CassTuple::cass_tuple_set_string, but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
CassError cass_tuple_set_bytes
(CassTuple * tuple, size_t index, const cass_byte_t * value, size_t value_size )
Sets a “blob”, “varint” or “custom” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
CassError cass_tuple_set_custom
(CassTuple * tuple, size_t index, const char * class_name, const cass_byte_t * value, size_t value_size )
Sets a “custom” in a tuple at the specified index.
CassError cass_tuple_set_custom_n
(CassTuple * tuple, size_t index, const char * class_name, size_t class_name_length, const cass_byte_t * value, size_t value_size )
Same as CassTuple::cass_tuple_set_custom, but with lengths for string parameters.
Sets a “uuid” or “timeuuid” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets an “inet” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
CassError cass_tuple_set_decimal
(CassTuple * tuple, size_t index, const cass_byte_t * varint, size_t varint_size, cass_int32_t scale )
Sets a “decimal” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
CassError cass_tuple_set_duration
(CassTuple * tuple, size_t index, cass_int32_t months, cass_int32_t days, cass_int64_t nanos )
Sets a “duration” in a tuple at the specified index.
Requires Apache Cassandra: 3.10+
CassError cass_tuple_set_collection
(CassTuple * tuple, size_t index, const CassCollection * value )
Sets a “list”, “map” or “set” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “tuple” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
Sets a “udt” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
CassError cass_tuple_set_dse_point
(CassTuple * tuple, size_t index, cass_double_t x, cass_double_t y )
Sets a point in a tuple at the specified index.
CassError cass_tuple_set_dse_line_string
(CassTuple * tuple, size_t index, const DseLineString * line_string )
Sets a line string in a tuple at the specified index.
CassError cass_tuple_set_dse_polygon
(CassTuple * tuple, size_t index, const DsePolygon * polygon )
Sets a polygon in a tuple at the specified index.
CassError cass_tuple_set_dse_date_range
(CassTuple * tuple, size_t index, const DseDateRange * range )
Sets a DateRange in a tuple at the specified index.