A group of statements that are executed as a single batch.
Note: Batches are not supported by the binary protocol version 1.
cass_batch_new( type )
Creates a new batch statement with batch type.
cass_batch_free( batch )
Frees a batch instance. Batches can be immediately freed after being executed.
cass_batch_set_consistency( batch, consistency )
Sets the batch’s consistency level
cass_batch_set_serial_consistency( batch, serial_consistency )
Sets the batch’s serial consistency level.
Default: Not set
cass_batch_set_timestamp( batch, timestamp )
Sets the batch’s timestamp.
cass_batch_set_retry_policy( batch, retry_policy )
Sets the batch’s retry policy.
cass_batch_add_statement( batch, statement )
Adds a statement to a batch.