Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
PreparedStatement.disableTracing()
Convenience method to disable tracing for all bound statements created
from this prepared statement.
|
PreparedStatement |
PreparedStatement.enableTracing()
Convenience method to enables tracing for all bound statements created
from this prepared statement.
|
PreparedStatement |
Session.prepare(Statement statement)
Prepares the provided query.
|
PreparedStatement |
Session.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 |
PreparedStatement.setRetryPolicy(RetryPolicy policy)
Convenience method to set a default retry policy for the
BoundStatement
created from this prepared statement. |
PreparedStatement |
PreparedStatement.setRoutingKey(ByteBuffer... routingKeyComponents)
Sets the routing key for this query.
|
PreparedStatement |
PreparedStatement.setRoutingKey(ByteBuffer routingKey)
Sets the routing key for this prepared statement.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<PreparedStatement> |
Session.prepareAsync(Statement statement)
Prepares the provided query asynchronously.
|
com.google.common.util.concurrent.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. |
Copyright © 2014. All Rights Reserved.