Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IdempotenceAwarePreparedStatement
Interface that extends the
PreparedStatement interface in order to prevent breaking
binary compatibility. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPreparedStatement |
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
PreparedStatement.disableTracing()
Convenience method to disable tracing for all bound statements created
from this prepared statement.
|
PreparedStatement |
DefaultPreparedStatement.disableTracing() |
PreparedStatement |
PreparedStatement.enableTracing()
Convenience method to enables tracing for all bound statements created
from this prepared statement.
|
PreparedStatement |
DefaultPreparedStatement.enableTracing() |
PreparedStatement |
Session.prepare(RegularStatement statement)
Prepares the provided query.
|
PreparedStatement |
AbstractSession.prepare(RegularStatement statement)
Prepares the provided query.
|
PreparedStatement |
Session.prepare(String query)
Prepares the provided query string.
|
PreparedStatement |
AbstractSession.prepare(String query)
Prepares the provided query string.
|
PreparedStatement |
BoundStatement.preparedStatement()
Returns the prepared statement on which this BoundStatement is based.
|
PreparedStatement |
PreparedStatement.setConsistencyLevel(ConsistencyLevel consistency)
Sets a default consistency level for all bound statements
created from this prepared statement.
|
PreparedStatement |
DefaultPreparedStatement.setConsistencyLevel(ConsistencyLevel consistency) |
PreparedStatement |
IdempotenceAwarePreparedStatement.setIdempotent(Boolean idempotent)
Sets whether this statement is idempotent.
|
PreparedStatement |
DefaultPreparedStatement.setIdempotent(Boolean idempotent) |
PreparedStatement |
PreparedStatement.setRetryPolicy(RetryPolicy policy)
Convenience method to set a default retry policy for the
BoundStatement
created from this prepared statement. |
PreparedStatement |
DefaultPreparedStatement.setRetryPolicy(RetryPolicy policy) |
PreparedStatement |
PreparedStatement.setRoutingKey(ByteBuffer... routingKeyComponents)
Sets the routing key for this query.
|
PreparedStatement |
DefaultPreparedStatement.setRoutingKey(ByteBuffer... routingKeyComponents) |
PreparedStatement |
PreparedStatement.setRoutingKey(ByteBuffer routingKey)
Sets the routing key for this prepared statement.
|
PreparedStatement |
DefaultPreparedStatement.setRoutingKey(ByteBuffer routingKey) |
PreparedStatement |
PreparedStatement.setSerialConsistencyLevel(ConsistencyLevel serialConsistency)
Sets a default serial consistency level for all bound statements
created from this prepared statement.
|
PreparedStatement |
DefaultPreparedStatement.setSerialConsistencyLevel(ConsistencyLevel serialConsistency) |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<PreparedStatement> |
Session.prepareAsync(RegularStatement statement)
Prepares the provided query asynchronously.
|
ListenableFuture<PreparedStatement> |
AbstractSession.prepareAsync(RegularStatement statement)
Prepares the provided query asynchronously.
|
ListenableFuture<PreparedStatement> |
Session.prepareAsync(String query)
Prepares the provided query string asynchronously.
|
Constructor and Description |
---|
BoundStatement(PreparedStatement statement)
Creates a new
BoundStatement from the provided prepared
statement. |