Class LogicalPlanWithNullaryRootImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalPlanWithNullaryRootImpl
- All Implemented Interfaces:
LogicalPlan,LogicalPlanWithNullaryRoot
-
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.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
-
LogicalPlanWithNullaryRootImpl
-
-
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 interfaceLogicalPlanWithNullaryRoot
-
getExpectedVariables
Description copied from interface:LogicalPlanReturns the variables that can be expected in the solution mappings produced by this plan.- Specified by:
getExpectedVariablesin interfaceLogicalPlan
-
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
-