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 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 returns null.
    • 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 returns null.
    • 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 returns null.
    • 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 returns null.
    • isExperimentRun

      boolean isExperimentRun()
      Returns true if the query execution process is done as part of an experiment, in which case additional statistics need to be produced.
    • skipExecution

      boolean skipExecution()
      Returns true if the user requested to skip the actual query execution. In this case, the query processor can stop after query planning.