Package | Description |
---|---|
com.datastax.oss.driver.api.core.cql |
Modifier and Type | Method and Description |
---|---|
BatchStatementBuilder |
BatchStatementBuilder.addStatement(BatchableStatement<?> statement)
Adds a new statement to the batch.
|
BatchStatementBuilder |
BatchStatementBuilder.addStatements(BatchableStatement<?>... statements)
Adds new statements to the batch.
|
BatchStatementBuilder |
BatchStatementBuilder.addStatements(Iterable<BatchableStatement<?>> statements)
Adds new statements to the batch.
|
static BatchStatementBuilder |
BatchStatement.builder(BatchStatement template)
Returns a builder to create an instance of the default implementation, copying the fields of
the given statement.
|
static BatchStatementBuilder |
BatchStatement.builder(BatchType batchType)
Returns a builder to create an instance of the default implementation.
|
BatchStatementBuilder |
BatchStatementBuilder.clearStatements()
Clears all the statements in this batch.
|
BatchStatementBuilder |
BatchStatementBuilder.setKeyspace(CqlIdentifier keyspace)
Sets the CQL keyspace to execute this batch in.
|
BatchStatementBuilder |
BatchStatementBuilder.setKeyspace(String keyspaceName)
Sets the CQL keyspace to execute this batch in.
|
Copyright © 2017–2024. All rights reserved.