Package | Description |
---|---|
com.datastax.dse.driver.api.core.auth | |
com.datastax.dse.driver.api.core.cql.continuous | |
com.datastax.dse.driver.api.core.cql.continuous.reactive | |
com.datastax.dse.driver.api.core.cql.reactive |
Types related to CQL execution using reactive-style programming.
|
com.datastax.oss.driver.api.core.cql |
Modifier and Type | Method and Description |
---|---|
static <StatementT extends Statement<StatementT>> |
ProxyAuthentication.executeAs(String userOrRole,
StatementT statement)
Adds proxy authentication information to a CQL statement.
|
Modifier and Type | Method and Description |
---|---|
default ContinuousResultSet |
ContinuousSession.executeContinuously(Statement<?> statement)
Executes the provided query with continuous paging synchronously.
|
default CompletionStage<ContinuousAsyncResultSet> |
ContinuousSession.executeContinuouslyAsync(Statement<?> statement)
Executes the provided query with continuous paging asynchronously.
|
Modifier and Type | Method and Description |
---|---|
default ContinuousReactiveResultSet |
ContinuousReactiveSession.executeContinuouslyReactive(Statement<?> statement)
Returns a
Publisher that, once subscribed to, executes the given query continuously and
emits all the results. |
Modifier and Type | Method and Description |
---|---|
default ReactiveResultSet |
ReactiveSession.executeReactive(Statement<?> statement)
Returns a
Publisher that, once subscribed to, executes the given query and emits all
the results. |
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()
Deprecated.
Use
ExecutionInfo.getRequest() instead. |
Modifier and Type | Method and Description |
---|---|
default ResultSet |
SyncCqlSession.execute(Statement<?> statement)
Executes a CQL statement synchronously (the calling thread blocks until the result becomes
available).
|
default CompletionStage<AsyncResultSet> |
AsyncCqlSession.executeAsync(Statement<?> statement)
Executes a CQL statement asynchronously (the call returns as soon as the statement was sent,
generally before the result is available).
|
default boolean |
PagingState.matches(Statement<?> statement)
Checks if this paging state can be safely reused for the given statement.
|
boolean |
PagingState.matches(Statement<?> statement,
Session session)
Alternative to
PagingState.matches(Statement) that specifies the session the statement will be
executed with. |
Copyright © 2017–2024. All rights reserved.