Class LogicalPlanUtils
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.LogicalPlanUtils
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intcountSubplans(LogicalPlan plan) static LogicalPlancreatePlanWithBinaryJoin(LogicalPlan subPlan1, LogicalPlan subPlan2) Creates aLogicalPlanwith aLogicalOpJoinas root operator and the given plans as its two subplans.static LogicalPlancreatePlanWithBinaryUnion(LogicalPlan subPlan1, LogicalPlan subPlan2) Creates aLogicalPlanwith aLogicalOpUnionas root operator and the given plans as its two subplans.static LogicalPlancreatePlanWithMultiwayJoin(List<LogicalPlan> subPlans) Creates aLogicalPlanwith aLogicalOpMultiwayJoinas root operator and the given plans as its subplans.static LogicalPlancreatePlanWithMultiwayJoin(LogicalPlan... subPlans) Creates aLogicalPlanwith aLogicalOpMultiwayJoinas root operator and the given plans as its subplans.static LogicalPlancreatePlanWithMultiwayUnion(List<LogicalPlan> subPlans) Creates aLogicalPlanwith aLogicalOpMultiwayUnionas root operator and the given plans as its subplans.static LogicalPlancreatePlanWithMultiwayUnion(LogicalPlan... subPlans) Creates aLogicalPlanwith aLogicalOpMultiwayUnionas root operator and the given plans as its subplans.static LogicalPlancreatePlanWithSubPlans(LogicalOperator rootOp, List<LogicalPlan> subPlans) Creates aLogicalPlanwith the given operator as root operator and the plans given in the list as subplans.static LogicalPlancreatePlanWithSubPlans(LogicalOperator rootOp, LogicalPlan... subPlans) Creates aLogicalPlanwith the given operator as root operator and the given plans as subplans.static booleanReturns true if the given logical plan is a source assignment.
- 
Constructor Details- 
LogicalPlanUtilspublic LogicalPlanUtils()
 
- 
- 
Method Details- 
createPlanWithBinaryJoinCreates aLogicalPlanwith aLogicalOpJoinas root operator and the given plans as its two subplans.
- 
createPlanWithMultiwayJoinCreates aLogicalPlanwith aLogicalOpMultiwayJoinas root operator and the given plans as its subplans.
- 
createPlanWithMultiwayJoinCreates aLogicalPlanwith aLogicalOpMultiwayJoinas root operator and the given plans as its subplans.
- 
createPlanWithBinaryUnionCreates aLogicalPlanwith aLogicalOpUnionas root operator and the given plans as its two subplans.
- 
createPlanWithMultiwayUnionCreates aLogicalPlanwith aLogicalOpMultiwayUnionas root operator and the given plans as its subplans.
- 
createPlanWithMultiwayUnionCreates aLogicalPlanwith aLogicalOpMultiwayUnionas root operator and the given plans as its subplans.
- 
createPlanWithSubPlansCreates aLogicalPlanwith the given operator as root operator and the given plans as subplans.
- 
createPlanWithSubPlanspublic static LogicalPlan createPlanWithSubPlans(LogicalOperator rootOp, List<LogicalPlan> subPlans) Creates aLogicalPlanwith the given operator as root operator and the plans given in the list as subplans. If the given operator is aNullaryLogicalOp, then the given list may be null.
- 
isSourceAssignmentReturns true if the given logical plan is a source assignment.
- 
countSubplans
 
-