Class LogicalPlanWithUnaryRootImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalPlanWithUnaryRootImpl
- All Implemented Interfaces:
LogicalPlan,LogicalPlanWithUnaryRoot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the variables that can be expected in the solution mappings produced by this plan.Returns the root operator of this plan.Convenience method that always should return the same as what is returned by callingLogicalPlan.getSubPlan(int)with a value of 0.getSubPlan(int i) Returns the i-th sub-plan of this plan, where i starts at index 0 (zero).inthashCode()intReturns the number of sub-plans that this plan has (considering sub-plans that are direct children of the root operator of this plan).
-
Constructor Details
-
LogicalPlanWithUnaryRootImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getRootOperator
Description copied from interface:LogicalPlanReturns the root operator of this plan.- Specified by:
getRootOperatorin interfaceLogicalPlan- Specified by:
getRootOperatorin interfaceLogicalPlanWithUnaryRoot
-
getExpectedVariables
Description copied from interface:LogicalPlanReturns the variables that can be expected in the solution mappings produced by this plan.- Specified by:
getExpectedVariablesin interfaceLogicalPlan
-
getSubPlan
Description copied from interface:LogicalPlanWithUnaryRootConvenience method that always should return the same as what is returned by callingLogicalPlan.getSubPlan(int)with a value of 0.- Specified by:
getSubPlanin interfaceLogicalPlanWithUnaryRoot
-
numberOfSubPlans
public int numberOfSubPlans()Description copied from interface:LogicalPlanReturns 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 interfaceLogicalPlan
-
getSubPlan
Description copied from interface:LogicalPlanReturns 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 interfaceLogicalPlan- Throws:
NoSuchElementException
-