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 boolean - 
Constructor Summary
ConstructorsConstructorDescriptionExecutionContextImpl(FederationAccessManager fedAccMgr, FederationCatalog fedCatalog, ExecutorService execServiceForPlanTasks, 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
 - 
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:
 getFederationAccessMgrin interfaceQueryProcContext
 - 
getFederationCatalog
- Specified by:
 getFederationCatalogin interfaceQueryProcContext
 - 
getExecutorServiceForPlanTasks
- Specified by:
 getExecutorServiceForPlanTasksin 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
 
 -