| Package | Description |
|---|---|
| com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
Session.prepare(String query)
Prepares the provided query.
|
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.setRoutingKey(ByteBuffer... routingKeyComponents)
Sets the routing key for this query.
|
PreparedStatement |
PreparedStatement.setRoutingKey(ByteBuffer routingKey)
Sets the routing key for this prepared statement.
|
| Constructor and Description |
|---|
BoundStatement(PreparedStatement statement)
Creates a new
BoundStatement from the provided prepared
statement. |
Copyright © 2013. All Rights Reserved.