Class ExecutionContextImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.ExecutionContextImpl
- All Implemented Interfaces:
ExecutionContext,QueryProcContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutorServiceprotected final FederationAccessManagerprotected final FederationCatalogprotected final booleanprotected final LogicalToPhysicalOpConverterprotected final LogicalToPhysicalPlanConverterprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionExecutionContextImpl(FederationAccessManager fedAccMgr, FederationCatalog fedCatalog, ExecutorService execServiceForPlanTasks, LogicalToPhysicalPlanConverter lp2pp, LogicalToPhysicalOpConverter lop2pop, boolean isExperimentRun, boolean skipExecution) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the query execution process is done as part of an experiment, in which case additional statistics need to be produced.booleanReturnstrueif the user requested to skip the actual query execution.
-
Field Details
-
fedAccMgr
-
fedCatalog
-
execServiceForPlanTasks
-
lp2pp
-
lop2pop
-
isExperimentRun
protected final boolean isExperimentRun -
skipExecution
protected final boolean skipExecution
-
-
Constructor Details
-
ExecutionContextImpl
public ExecutionContextImpl(FederationAccessManager fedAccMgr, FederationCatalog fedCatalog, ExecutorService execServiceForPlanTasks, LogicalToPhysicalPlanConverter lp2pp, LogicalToPhysicalOpConverter lop2pop, boolean isExperimentRun, boolean skipExecution)
-
-
Method Details
-
getFederationAccessMgr
- Specified by:
getFederationAccessMgrin interfaceQueryProcContext
-
getFederationCatalog
- Specified by:
getFederationCatalogin interfaceQueryProcContext
-
getExecutorServiceForPlanTasks
- Specified by:
getExecutorServiceForPlanTasksin interfaceQueryProcContext
-
getLogicalToPhysicalPlanConverter
- Specified by:
getLogicalToPhysicalPlanConverterin interfaceQueryProcContext
-
getLogicalToPhysicalOpConverter
- Specified by:
getLogicalToPhysicalOpConverterin interfaceQueryProcContext
-
isExperimentRun
public boolean isExperimentRun()Description copied from interface:QueryProcContextReturnstrueif the query execution process is done as part of an experiment, in which case additional statistics need to be produced.- Specified by:
isExperimentRunin interfaceQueryProcContext
-
skipExecution
public boolean skipExecution()Description copied from interface:QueryProcContextReturnstrueif the user requested to skip the actual query execution. In this case, the query processor can stop after query planning.- Specified by:
skipExecutionin interfaceQueryProcContext
-