Interface LogicalPlan
- All Known Subinterfaces:
LogicalPlanWithBinaryRoot
,LogicalPlanWithNaryRoot
,LogicalPlanWithNullaryRoot
,LogicalPlanWithUnaryRoot
- All Known Implementing Classes:
LogicalPlanWithBinaryRootImpl
,LogicalPlanWithNaryRootImpl
,LogicalPlanWithNullaryRootImpl
,LogicalPlanWithUnaryRootImpl
public interface LogicalPlan
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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).int
Returns the number of sub-plans that this plan has (considering sub-plans that are direct children of the root operator of this plan).
-
Method Details
-
getRootOperator
LogicalOperator getRootOperator()Returns the root operator of this plan. -
getExpectedVariables
ExpectedVariables getExpectedVariables()Returns the variables that can be expected in the solution mappings produced by this plan. -
numberOfSubPlans
int numberOfSubPlans()Returns the number of sub-plans that this plan has (considering sub-plans that are direct children of the root operator of this plan). -
getSubPlan
Returns 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 aNoSuchElementException
will be thrown.- Throws:
NoSuchElementException
-