Struct cassandra_cpp::Batch [] [src]

pub struct Batch(_);

A group of statements that are executed as a single batch. Note: Batches are not supported by the binary protocol version 1.

Methods

impl Batch
[src]

[src]

Creates a new batch statement with batch type.

[src]

Sets the batch's consistency level

[src]

Sets the batch's serial consistency level.

Default: Not set

[src]

Sets the batch's timestamp.

[src]

Sets the batch's retry policy.

[src]

Sets the batch's custom payload.

[src]

Adds a statement to a batch.

Trait Implementations

impl Debug for Batch
[src]

[src]

Formats the value using the given formatter.

impl Send for Batch
[src]

impl Drop for Batch
[src]

[src]

Frees a batch instance. Batches can be immediately freed after being executed.