Package | Description |
---|---|
com.datastax.oss.driver.api.core.cql |
Modifier and Type | Class and Description |
---|---|
class |
DefaultBatchType
A default batch type supported by the driver out of the box.
|
Modifier and Type | Field and Description |
---|---|
static BatchType |
BatchType.COUNTER |
static BatchType |
BatchType.LOGGED |
static BatchType |
BatchType.UNLOGGED |
Modifier and Type | Method and Description |
---|---|
BatchType |
BatchStatement.getBatchType() |
Modifier and Type | Method and Description |
---|---|
static BatchStatementBuilder |
BatchStatement.builder(BatchType batchType)
Returns a builder to create an instance of the default implementation.
|
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.
|
Constructor and Description |
---|
BatchStatementBuilder(BatchType batchType) |
Copyright © 2017–2024. All rights reserved.