Package | Description |
---|---|
com.datastax.oss.driver.api.core.cql |
Modifier and Type | Interface and Description |
---|---|
interface |
BatchableStatement<SelfT extends BatchableStatement<SelfT>>
A statement that can be added to a CQL batch.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BoundStatement
A prepared statement in its executable form, with values bound to the variables.
|
interface |
SimpleStatement
A one-off CQL statement consisting of a query string with optional placeholders, and a set of
values for these placeholders.
|
Modifier and Type | Method and Description |
---|---|
BatchStatement |
BatchStatement.add(BatchableStatement<?> statement)
Adds a new statement to the batch.
|
default BatchStatement |
BatchStatement.addAll(BatchableStatement<?>... statements) |
BatchStatementBuilder |
BatchStatementBuilder.addStatement(BatchableStatement<?> statement)
Adds a new statement to the batch.
|
BatchStatementBuilder |
BatchStatementBuilder.addStatements(BatchableStatement<?>... statements)
Adds new statements to the batch.
|
static BatchStatement |
BatchStatement.newInstance(BatchType batchType,
BatchableStatement<?>... statements)
Creates an instance of the default implementation for the given batch type, containing the
given statements.
|
Modifier and Type | Method and Description |
---|---|
BatchStatement |
BatchStatement.addAll(Iterable<? extends BatchableStatement<?>> statements)
Adds new statements to the batch.
|
BatchStatementBuilder |
BatchStatementBuilder.addStatements(Iterable<BatchableStatement<?>> statements)
Adds new statements to the batch.
|
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.
|
Copyright © 2017–2024. All rights reserved.