com.netflix.astyanax.query
Interface CqlQuery<K,C>

Type Parameters:
K -
C -
All Superinterfaces:
com.netflix.astyanax.Execution<CqlResult<K,C>>

public interface CqlQuery<K,C>
extends com.netflix.astyanax.Execution<CqlResult<K,C>>

Interface for executing a CQL query.


Method Summary
 PreparedCqlQuery<K,C> asPreparedStatement()
          Prepares the provided CQL statement.
 CqlQuery<K,C> useCompression()
          Turns on compression for the response
 
Methods inherited from interface com.netflix.astyanax.Execution
execute, executeAsync
 

Method Detail

useCompression

CqlQuery<K,C> useCompression()
Turns on compression for the response

Returns:

asPreparedStatement

PreparedCqlQuery<K,C> asPreparedStatement()
Prepares the provided CQL statement. The statement is not executed here. Call, withPreparedStatement to execute the prepared statement with variables.

Returns: