Class PhysicalPlanWithoutResult
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.base.impl.BaseForQueryPlan
se.liu.ida.hefquin.engine.queryplan.physical.impl.PhysicalPlanWithoutResult
- All Implemented Interfaces:
QueryPlan,PhysicalPlan
This class represents a physical plan that produces the empty result.
-
Field Summary
FieldsFields inherited from class se.liu.ida.hefquin.engine.queryplan.base.impl.BaseForQueryPlan
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the variables that can be expected in the solution mappings produced by this plan.static PhysicalPlanReturns the root operator of this plan.getSubPlan(int i) Returns the i-th sub-plan of this plan, where i starts at index 0 (zero).intReturns the number of sub-plans that this plan has (considering sub-plans that are direct children of the root operator of this plan).Methods inherited from class se.liu.ida.hefquin.engine.queryplan.base.impl.BaseForQueryPlan
equals, getID, getQueryPlanningInfo, hashCode, hasQueryPlanningInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.base.QueryPlan
getID, getQueryPlanningInfo, hasQueryPlanningInfo, isSamePlan
-
Field Details
-
instance
-
-
Constructor Details
-
PhysicalPlanWithoutResult
protected PhysicalPlanWithoutResult()
-
-
Method Details
-
getInstance
-
numberOfSubPlans
public int numberOfSubPlans()Description copied from interface:QueryPlanReturns the number of sub-plans that this plan has (considering sub-plans that are direct children of the root operator of this plan).- Specified by:
numberOfSubPlansin interfaceQueryPlan
-
getExpectedVariables
Description copied from interface:QueryPlanReturns the variables that can be expected in the solution mappings produced by this plan.- Specified by:
getExpectedVariablesin interfaceQueryPlan
-
getRootOperator
Description copied from interface:QueryPlanReturns the root operator of this plan.- Specified by:
getRootOperatorin interfacePhysicalPlan- Specified by:
getRootOperatorin interfaceQueryPlan- Throws:
NoSuchElementException
-
getSubPlan
Description copied from interface:QueryPlanReturns the i-th sub-plan of this plan, where i starts at index 0 (zero). If the plan has fewer sub-plans (or no sub-plans at all), then aNoSuchElementExceptionwill be thrown.- Specified by:
getSubPlanin interfacePhysicalPlan- Specified by:
getSubPlanin interfaceQueryPlan- Throws:
NoSuchElementException
-