Uses of Class
com.datastax.driver.core.Statement

Packages that use Statement
com.datastax.driver.core The main package for the DataStax Java driver for Cassandra. 
com.datastax.driver.core.policies Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra. 
com.datastax.driver.core.querybuilder A CQL3 query builder. 
 

Uses of Statement in com.datastax.driver.core
 

Subclasses of Statement in com.datastax.driver.core
 class BatchStatement
          A statement that group a number of Statement so they get executed as a batch.
 class BoundStatement
          A prepared statement with values bound to the bind variables.
 class RegularStatement
          A regular (non-prepared and non batched) CQL statement.
 class SimpleStatement
          A simple RegularStatement implementation built directly from a query string.
 

Methods in com.datastax.driver.core that return Statement
 Statement Statement.disableTracing()
          Disables tracing for this query.
 Statement Statement.enableTracing()
          Enables tracing for this query.
 Statement Statement.setConsistencyLevel(ConsistencyLevel consistency)
          Sets the consistency level for the query.
 Statement Statement.setFetchSize(int fetchSize)
          Sets the query fetch size.
 Statement Statement.setRetryPolicy(RetryPolicy policy)
          Sets the retry policy to use for this query.
 Statement Statement.setSerialConsistencyLevel(ConsistencyLevel serialConsistency)
          Sets the serial consistency level for the query.
 

Methods in com.datastax.driver.core that return types with arguments of type Statement
 Collection<Statement> BatchStatement.getStatements()
          The statements that have been added to this batch so far.
 

Methods in com.datastax.driver.core with parameters of type Statement
 BatchStatement BatchStatement.add(Statement statement)
          Adds a new statement to this batch.
 ResultSet Session.execute(Statement statement)
          Executes the provided query.
 ResultSetFuture Session.executeAsync(Statement statement)
          Executes the provided query asynchronously.
 

Method parameters in com.datastax.driver.core with type arguments of type Statement
 BatchStatement BatchStatement.addAll(Iterable<? extends Statement> statements)
          Adds multiple statements to this batch.
 

Uses of Statement in com.datastax.driver.core.policies
 

Methods in com.datastax.driver.core.policies with parameters of type Statement
 Iterator<Host> TokenAwarePolicy.newQueryPlan(String loggedKeyspace, Statement statement)
          Returns the hosts to use for a new query.
 Iterator<Host> RoundRobinPolicy.newQueryPlan(String loggedKeyspace, Statement statement)
          Returns the hosts to use for a new query.
 Iterator<Host> LoadBalancingPolicy.newQueryPlan(String loggedKeyspace, Statement statement)
          Returns the hosts to use for a new query.
 Iterator<Host> LatencyAwarePolicy.newQueryPlan(String loggedKeyspace, Statement statement)
          Returns the hosts to use for a new query.
 Iterator<Host> DCAwareRoundRobinPolicy.newQueryPlan(String loggedKeyspace, Statement statement)
          Returns the hosts to use for a new query.
 RetryPolicy.RetryDecision RetryPolicy.onReadTimeout(Statement statement, ConsistencyLevel cl, int requiredResponses, int receivedResponses, boolean dataRetrieved, int nbRetry)
          Defines whether to retry and at which consistency level on a read timeout.
 RetryPolicy.RetryDecision LoggingRetryPolicy.onReadTimeout(Statement statement, ConsistencyLevel cl, int requiredResponses, int receivedResponses, boolean dataRetrieved, int nbRetry)
           
 RetryPolicy.RetryDecision FallthroughRetryPolicy.onReadTimeout(Statement statement, ConsistencyLevel cl, int requiredResponses, int receivedResponses, boolean dataRetrieved, int nbRetry)
          Defines whether to retry and at which consistency level on a read timeout.
 RetryPolicy.RetryDecision DowngradingConsistencyRetryPolicy.onReadTimeout(Statement statement, ConsistencyLevel cl, int requiredResponses, int receivedResponses, boolean dataRetrieved, int nbRetry)
          Defines whether to retry and at which consistency level on a read timeout.
 RetryPolicy.RetryDecision DefaultRetryPolicy.onReadTimeout(Statement statement, ConsistencyLevel cl, int requiredResponses, int receivedResponses, boolean dataRetrieved, int nbRetry)
          Defines whether to retry and at which consistency level on a read timeout.
 RetryPolicy.RetryDecision RetryPolicy.onUnavailable(Statement statement, ConsistencyLevel cl, int requiredReplica, int aliveReplica, int nbRetry)
          Defines whether to retry and at which consistency level on an unavailable exception.
 RetryPolicy.RetryDecision LoggingRetryPolicy.onUnavailable(Statement statement, ConsistencyLevel cl, int requiredReplica, int aliveReplica, int nbRetry)
           
 RetryPolicy.RetryDecision FallthroughRetryPolicy.onUnavailable(Statement statement, ConsistencyLevel cl, int requiredReplica, int aliveReplica, int nbRetry)
          Defines whether to retry and at which consistency level on an unavailable exception.
 RetryPolicy.RetryDecision DowngradingConsistencyRetryPolicy.onUnavailable(Statement statement, ConsistencyLevel cl, int requiredReplica, int aliveReplica, int nbRetry)
          Defines whether to retry and at which consistency level on an unavailable exception.
 RetryPolicy.RetryDecision DefaultRetryPolicy.onUnavailable(Statement statement, ConsistencyLevel cl, int requiredReplica, int aliveReplica, int nbRetry)
          Defines whether to retry and at which consistency level on an unavailable exception.
 RetryPolicy.RetryDecision RetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
          Defines whether to retry and at which consistency level on a write timeout.
 RetryPolicy.RetryDecision LoggingRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
           
 RetryPolicy.RetryDecision FallthroughRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
          Defines whether to retry and at which consistency level on a write timeout.
 RetryPolicy.RetryDecision DowngradingConsistencyRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
          Defines whether to retry and at which consistency level on a write timeout.
 RetryPolicy.RetryDecision DefaultRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
          Defines whether to retry and at which consistency level on a write timeout.
 

Uses of Statement in com.datastax.driver.core.querybuilder
 

Subclasses of Statement in com.datastax.driver.core.querybuilder
 class Batch
          A built BATCH statement.
static class Batch.Options
          The options of a BATCH statement.
 class BuiltStatement
          Common ancestor to the query builder built statements.
 class Delete
          A built DELETE statement.
static class Delete.Options
          The options of a DELETE statement.
static class Delete.Where
          The WHERE clause of a DELETE statement.
 class Insert
          A built INSERT statement.
static class Insert.Options
          The options of an INSERT statement.
 class Select
          A built SELECT statement.
static class Select.Where
          The WHERE clause of a SELECT statement.
 class Truncate
          A built TRUNCATE statement.
 class Update
          A built UPDATE statement.
static class Update.Assignments
          The assignments of an UPDATE statement.
static class Update.Conditions
          Conditions for an UDPATE statement.
static class Update.Options
          The options of a UDPATE statement.
static class Update.Where
          The WHERE clause of an UPDATE statement.
 



Copyright © 2014. All rights reserved.