Package | Description |
---|---|
com.datastax.oss.driver.api.core |
The core API of the driver, that deals with query execution and cluster metadata.
|
com.datastax.oss.driver.api.core.cql |
Modifier and Type | Method and Description |
---|---|
default ResultSet |
CqlSession.execute(Statement<?> statement)
Executes a CQL statement synchronously (the calling thread blocks until the result becomes
available).
|
default CompletionStage<AsyncResultSet> |
CqlSession.executeAsync(Statement<?> statement)
Executes a CQL statement asynchronously (the call returns as soon as the statement was sent,
generally before the result is available).
|
Modifier and Type | Interface and Description |
---|---|
interface |
Statement<SelfT extends Statement<SelfT>>
A request to execute a CQL query.
|
class |
StatementBuilder<SelfT extends StatementBuilder<SelfT,StatementT>,StatementT extends Statement<StatementT>>
Handle options common to all statement builders.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BatchableStatement<SelfT extends BatchableStatement<SelfT>>
A statement that can be added to a CQL batch.
|
interface |
BatchStatement
A statement that groups a number of other statements, so that they can be executed as a batch
(i.e.
|
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 |
---|---|
Statement<?> |
ExecutionInfo.getStatement()
The statement that was executed.
|
Copyright © 2017–2019. All rights reserved.