Class QueryProcessorImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.QueryProcessorImpl
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutionEngineprotected final QueryPlanCompilerprotected final QueryPlanner -
Constructor Summary
ConstructorsConstructorDescriptionQueryProcessorImpl(QueryPlanner planner, QueryPlanCompiler planCompiler, ExecutionEngine execEngine) -
Method Summary
Modifier and TypeMethodDescriptionprocessQuery(Query query, QueryResultSink resultSink, QueryProcContext ctx) protected QueryProcessingStatsAndExceptionsprocessQuery(Query query, QueryResultSink resultSink, QueryProcContextExt ctx) voidshutdown()Shuts down all thread pools associated with this query processor.
-
Field Details
-
planner
-
planCompiler
-
execEngine
-
-
Constructor Details
-
QueryProcessorImpl
public QueryProcessorImpl(QueryPlanner planner, QueryPlanCompiler planCompiler, ExecutionEngine execEngine)
-
-
Method Details
-
getPlanner
- Specified by:
getPlannerin interfaceQueryProcessor
-
getPlanCompiler
- Specified by:
getPlanCompilerin interfaceQueryProcessor
-
getExecutionEngine
- Specified by:
getExecutionEnginein interfaceQueryProcessor
-
processQuery
public QueryProcessingStatsAndExceptions processQuery(Query query, QueryResultSink resultSink, QueryProcContext ctx) throws QueryProcException - Specified by:
processQueryin interfaceQueryProcessor- Throws:
QueryProcException
-
processQuery
protected QueryProcessingStatsAndExceptions processQuery(Query query, QueryResultSink resultSink, QueryProcContextExt ctx) throws QueryProcException - Throws:
QueryProcException
-
shutdown
public void shutdown()Description copied from interface:QueryProcessorShuts down all thread pools associated with this query processor.- Specified by:
shutdownin interfaceQueryProcessor
-