Class ExecutionContextImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.ExecutionContextImpl
- All Implemented Interfaces:
ExecutionContext
,QueryProcContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutorService
protected final FederationAccessManager
protected final FederationCatalog
protected final boolean
protected final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionContextImpl
(FederationAccessManager fedAccMgr, FederationCatalog fedCatalog, ExecutorService execServiceForPlanTasks, boolean isExperimentRun, boolean skipExecution) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the query execution process is done as part of an experiment, in which case additional statistics need to be produced.boolean
Returnstrue
if the user requested to skip the actual query execution.
-
Field Details
-
fedAccMgr
-
fedCatalog
-
execServiceForPlanTasks
-
isExperimentRun
protected final boolean isExperimentRun -
skipExecution
protected final boolean skipExecution
-
-
Constructor Details
-
ExecutionContextImpl
public ExecutionContextImpl(FederationAccessManager fedAccMgr, FederationCatalog fedCatalog, ExecutorService execServiceForPlanTasks, boolean isExperimentRun, boolean skipExecution)
-
-
Method Details
-
getFederationAccessMgr
- Specified by:
getFederationAccessMgr
in interfaceQueryProcContext
-
getFederationCatalog
- Specified by:
getFederationCatalog
in interfaceQueryProcContext
-
getExecutorServiceForPlanTasks
- Specified by:
getExecutorServiceForPlanTasks
in interfaceQueryProcContext
-
isExperimentRun
public boolean isExperimentRun()Description copied from interface:QueryProcContext
Returnstrue
if the query execution process is done as part of an experiment, in which case additional statistics need to be produced.- Specified by:
isExperimentRun
in interfaceQueryProcContext
-
skipExecution
public boolean skipExecution()Description copied from interface:QueryProcContext
Returnstrue
if the user requested to skip the actual query execution. In this case, the query processor can stop after query planning.- Specified by:
skipExecution
in interfaceQueryProcContext
-