Interface QueryProcContext
- All Known Subinterfaces:
QueryProcContextExt
- All Known Implementing Classes:
QueryProcessorImpl.MyQueryProcContextExt
public interface QueryProcContext
Objects of this type provide access to components and options
that are used by the query-processing components of HeFQUIN.
The typical way to create such an object is to use the
QueryProcContextBuilder that can be obtained via
HeFQUINEngine.getQueryProcContextBuilder(). Every
such object obtained in this way can be reused for processing
multiple queries.
-
Method Summary
Modifier and TypeMethodDescriptionA plan printer to be used for printing the executable plan, as produced from the final physical plan.A plan printer to be used for printing the final logical plan that is the result of logical optimization.A plan printer to be used for printing the final physical plan that is the result of physical optimization.A plan printer to be used for printing the source assignment (which is the initial logical plan after source selection, before logical optimization).booleanReturnstrueif 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.
-
Method Details
-
getFederationCatalog
FederationCatalog getFederationCatalog() -
getFederationAccessMgr
FederationAccessManager getFederationAccessMgr() -
getExecutorServiceForPlanTasks
ExecutorService getExecutorServiceForPlanTasks() -
getSourceAssignmentPrinter
LogicalPlanPrinter getSourceAssignmentPrinter()A plan printer to be used for printing the source assignment (which is the initial logical plan after source selection, before logical optimization). If source assignment printing is not requested by the user, then this method returnsnull. -
getLogicalPlanPrinter
LogicalPlanPrinter getLogicalPlanPrinter()A plan printer to be used for printing the final logical plan that is the result of logical optimization. If logical plan printing is not requested by the user, then this method returnsnull. -
getPhysicalPlanPrinter
PhysicalPlanPrinter getPhysicalPlanPrinter()A plan printer to be used for printing the final physical plan that is the result of physical optimization. If physical plan printing is not requested by the user, then this method returnsnull. -
getExecutablePlanPrinter
ExecutablePlanPrinter getExecutablePlanPrinter()A plan printer to be used for printing the executable plan, as produced from the final physical plan. If executable plan printing is not requested by the user, this method returnsnull. -
isExperimentRun
boolean isExperimentRun()Returnstrueif the query execution process is done as part of an experiment, in which case additional statistics need to be produced. -
skipExecution
boolean skipExecution()Returnstrueif the user requested to skip the actual query execution. In this case, the query processor can stop after query planning.
-