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