Class LogicalPlanUtils
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.LogicalPlanUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
LogicalPlanUtils
public LogicalPlanUtils()
-
-
Method Details
-
createPlanWithBinaryJoin
Creates aLogicalPlanwith aLogicalOpJoinas root operator and the given plans as its two subplans. -
createPlanWithMultiwayJoin
Creates aLogicalPlanwith aLogicalOpMultiwayJoinas root operator and the given plans as its subplans. -
createPlanWithMultiwayJoin
Creates aLogicalPlanwith aLogicalOpMultiwayJoinas root operator and the given plans as its subplans. -
createPlanWithBinaryUnion
Creates aLogicalPlanwith aLogicalOpUnionas root operator and the given plans as its two subplans. -
createPlanWithMultiwayUnion
Creates aLogicalPlanwith aLogicalOpMultiwayUnionas root operator and the given plans as its subplans. -
createPlanWithMultiwayUnion
Creates aLogicalPlanwith aLogicalOpMultiwayUnionas root operator and the given plans as its subplans. -
createPlanWithSubPlans
Creates aLogicalPlanwith the given operator as root operator and the given plans as subplans. -
createPlanWithSubPlans
public 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. -
isSourceAssignment
Returns true if the given logical plan is a source assignment. -
countSubplans
-