A tuple of values.
Requires Apache Cassandra: 2.1+
Public Functions
Creates a new tuple.
Requires Apache Cassandra: 2.1+
See also
item_count – [in] The number of items in the tuple.
Returns a tuple that must be freed.
Creates a new tuple from an existing data type.
Requires Apache Cassandra: 2.1+
See also
data_type – [in]
Returns a tuple that must be freed.
Frees a tuple instance.
Requires Apache Cassandra: 2.1+
tuple – [in]
Sets an null in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “tinyint” in a tuple at the specified index.
Requires Apache Cassandra: 2.2+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “smallint” in a tuple at the specified index.
Requires Apache Cassandra: 2.2+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “int” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “date” in a tuple at the specified index.
Requires Apache Cassandra: 2.2+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “bigint”, “counter”, “timestamp” or “time” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “float” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “double” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “boolean” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “ascii”, “text” or “varchar” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in] The value is copied into the tuple 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_tuple_set_string(), but with lengths for string parameters.
Requires Apache Cassandra: 2.1+
See also
tuple – [in]
index – [in]
value – [in]
value_length – [in]
same as cass_tuple_set_string()
Sets a “blob”, “varint” or “custom” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in] The value is copied into the tuple 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.
Sets a “custom” in a tuple at the specified index.
tuple – [in]
index – [in]
class_name – [in]
value – [in] The value is copied into the tuple 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_tuple_set_custom(), but with lengths for string parameters.
See also
tuple – [in]
index – [in]
class_name – [in]
class_name_length – [in]
value – [in]
value_size – [in]
same as cass_tuple_set_custom()
Sets a “uuid” or “timeuuid” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets an “inet” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “decimal” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
varint – [in] The value is copied into the tuple 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.
Sets a “duration” in a tuple at the specified index.
Requires Apache Cassandra: 3.10+
tuple – [in]
index – [in]
months – [in]
days – [in]
nanos – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “list”, “map” or “set” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “tuple” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a “udt” in a tuple at the specified index.
Requires Apache Cassandra: 2.1+
tuple – [in]
index – [in]
value – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a point in a tuple at the specified index.
tuple – [in]
index – [in]
x – [in]
y – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a line string in a tuple at the specified index.
tuple – [in]
index – [in]
line_string – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a polygon in a tuple at the specified index.
tuple – [in]
index – [in]
polygon – [in]
CASS_OK if successful, otherwise an error occurred.
Sets a DateRange in a tuple at the specified index.
tuple – [in]
index – [in]
range – [in]
CASS_OK if successful, otherwise an error occurred.