Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
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 |
PreparedStatement.setIdempotent(Boolean idempotent)
Sets whether this statement is idempotent.
|
PreparedStatement |
DefaultPreparedStatement.setIdempotent(Boolean idempotent)
Sets whether this statement is idempotent.
|
PreparedStatement |
PreparedStatement.setOutgoingPayload(Map<String,ByteBuffer> payload)
Associate the given payload with this prepared statement.
|
PreparedStatement |
DefaultPreparedStatement.setOutgoingPayload(Map<String,ByteBuffer> payload) |
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.
|
ListenableFuture<PreparedStatement> |
AbstractSession.prepareAsync(String query)
Prepares the provided query string asynchronously.
|
protected abstract ListenableFuture<PreparedStatement> |
AbstractSession.prepareAsync(String query,
String keyspace,
Map<String,ByteBuffer> customPayload)
Prepares the provided query string asynchronously, sending along the provided custom payload,
if any.
|
Constructor and Description |
---|
BoundStatement(PreparedStatement statement)
Creates a new
BoundStatement from the provided prepared statement. |
Copyright © 2012–2018. All rights reserved.