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