struct CassBatch
A group of statements that are executed as a single batch.
Note: Batches are not supported by the binary protocol version 1.
Requires Apache Cassandra: 2.0+
Functions
Creates a new batch statement with batch type.
Requires Apache Cassandra: 2.0+
Frees a batch instance. Batches can be immediately freed after being executed.
Requires Apache Cassandra: 2.0+
Sets the batch’s consistency level
Requires Apache Cassandra: 2.0+
CassError
cass_batch_set_serial_consistency
(CassBatch *
batch, CassConsistency
serial_consistency )
Sets the batch’s serial consistency level.
Requires Apache Cassandra: 2.0+
Default: Not set
Sets the batch’s timestamp.
Requires Apache Cassandra: 2.1+
Sets the batch’s timeout for waiting for a response from a node.
Default: Disabled (use the cluster-level request timeout)
Sets the batch’s retry policy.
Requires Apache Cassandra: 2.0+
Sets the batch’s custom payload.
Requires Apache Cassandra: 2.2+
Adds a statement to a batch.
Requires Apache Cassandra: 2.0+