Class QueryProcessorImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.QueryProcessorImpl
- All Implemented Interfaces:
QueryProcessor
Simple implementation of
QueryProcessor.-
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
-
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
-