BatchStatement |
BatchStatement.add(BatchableStatement<?> statement) |
Adds a new statement to the batch.
|
default BatchStatement |
BatchStatement.addAll(BatchableStatement<?>... statements) |
|
BatchStatement |
BatchStatement.addAll(Iterable<? extends BatchableStatement<?>> statements) |
Adds new statements to the batch.
|
BatchStatement |
BatchStatementBuilder.build() |
|
BatchStatement |
BatchStatement.clear() |
Clears the batch, removing all the statements added so far.
|
static BatchStatement |
BatchStatement.newInstance(BatchType batchType) |
Creates an instance of the default implementation for the given batch type.
|
static BatchStatement |
BatchStatement.newInstance(BatchType batchType,
BatchableStatement<?>... statements) |
Creates an instance of the default implementation for the given batch type, containing the
given statements.
|
static BatchStatement |
BatchStatement.newInstance(BatchType batchType,
Iterable<BatchableStatement<?>> statements) |
Creates an instance of the default implementation for the given batch type, containing the
given statements.
|
BatchStatement |
BatchStatement.setBatchType(BatchType newBatchType) |
Sets the batch type.
|
BatchStatement |
BatchStatement.setKeyspace(CqlIdentifier newKeyspace) |
Sets the CQL keyspace to associate with this batch.
|
default BatchStatement |
BatchStatement.setKeyspace(String newKeyspaceName) |
|