Package org.apache.cassandra.cql3
Interface QueryHandler
-
- All Known Implementing Classes:
CustomPayloadMirroringQueryHandler
,QueryProcessor
public interface QueryHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
QueryHandler.Prepared
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryHandler.Prepared
getPrepared(MD5Digest id)
CQLStatement
parse(java.lang.String queryString, QueryState queryState, QueryOptions options)
ResultMessage.Prepared
prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)
ResultMessage
process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)
ResultMessage
processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)
ResultMessage
processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)
-
-
-
Method Detail
-
parse
CQLStatement parse(java.lang.String queryString, QueryState queryState, QueryOptions options)
-
process
ResultMessage process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime) throws RequestExecutionException, RequestValidationException
-
prepare
ResultMessage.Prepared prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload) throws RequestValidationException
- Throws:
RequestValidationException
-
getPrepared
QueryHandler.Prepared getPrepared(MD5Digest id)
-
processPrepared
ResultMessage processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime) throws RequestExecutionException, RequestValidationException
-
processBatch
ResultMessage processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime) throws RequestExecutionException, RequestValidationException
-
-