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

Packages that use Query
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 Query in com.datastax.driver.core
 

Subclasses of Query in com.datastax.driver.core
 class BoundStatement
          A prepared statement with values bound to the bind variables.
 class SimpleStatement
          A simple Statement implementation built directly from a query string.
 class Statement
          A non-prepared CQL statement.
 

Methods in com.datastax.driver.core that return Query
 Query Query.disableTracing()
          Disables tracing for this query.
 Query Query.enableTracing()
          Enables tracing for this query.
 Query Query.setConsistencyLevel(ConsistencyLevel consistency)
          Sets the consistency level for the query.
 Query Query.setRetryPolicy(RetryPolicy policy)
          Sets the retry policy to use for this query.
 

Methods in com.datastax.driver.core with parameters of type Query
 ResultSet Session.execute(Query query)
          Executes the provided query.
 ResultSetFuture Session.executeAsync(Query query)
          Executes the provided query asynchronously.
 

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

Methods in com.datastax.driver.core.policies with parameters of type Query
 Iterator<Host> TokenAwarePolicy.newQueryPlan(Query query)
          Returns the hosts to use for a new query.
 Iterator<Host> RoundRobinPolicy.newQueryPlan(Query query)
          Returns the hosts to use for a new query.
 Iterator<Host> LoadBalancingPolicy.newQueryPlan(Query query)
          Returns the hosts to use for a new query.
 Iterator<Host> DCAwareRoundRobinPolicy.newQueryPlan(Query query)
          Returns the hosts to use for a new query.
 RetryPolicy.RetryDecision RetryPolicy.onReadTimeout(Query query, 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(Query query, ConsistencyLevel cl, int requiredResponses, int receivedResponses, boolean dataRetrieved, int nbRetry)
           
 RetryPolicy.RetryDecision FallthroughRetryPolicy.onReadTimeout(Query query, 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(Query query, 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(Query query, 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(Query query, 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(Query query, ConsistencyLevel cl, int requiredReplica, int aliveReplica, int nbRetry)
           
 RetryPolicy.RetryDecision FallthroughRetryPolicy.onUnavailable(Query query, 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(Query query, 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(Query query, 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(Query query, 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(Query query, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
           
 RetryPolicy.RetryDecision FallthroughRetryPolicy.onWriteTimeout(Query query, 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(Query query, 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(Query query, 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 Query in com.datastax.driver.core.querybuilder
 

Subclasses of Query in com.datastax.driver.core.querybuilder
 class Batch
          A built BATCH statement.
static class Batch.Options
          The options of a BATCH statement.
 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 Update
          A built UPDATE statement.
static class Update.Assignments
          The assignments of an UPDATE statement.
static class Update.Options
          The options of a UDPATE statement.
static class Update.Where
          The WHERE clause of an UPDATE statement.
 



Copyright © 2013. All Rights Reserved.