Class PhysicalOptimizerBase
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.PhysicalOptimizerBase
- All Implemented Interfaces:
PhysicalOptimizer
- Direct Known Subclasses:
PhysicalOptimizerWithoutOptimization
,SimpleJoinOrderingQueryOptimizer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
Return true if this optimizer expects that multiway joins are carried over from the given logical plan into the initial physical plan.optimize
(LogicalPlan lp) protected abstract Pair<PhysicalPlan,
PhysicalOptimizationStats> optimize
(PhysicalPlan initialPhysicalPlan) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.liu.ida.hefquin.engine.queryproc.PhysicalOptimizer
assumesLogicalMultiwayJoins
-
Field Details
-
l2pConverter
-
-
Constructor Details
-
PhysicalOptimizerBase
-
-
Method Details
-
optimize
public final Pair<PhysicalPlan,PhysicalOptimizationStats> optimize(LogicalPlan lp) throws PhysicalOptimizationException - Specified by:
optimize
in interfacePhysicalOptimizer
- Throws:
PhysicalOptimizationException
-
keepMultiwayJoinsInInitialPhysicalPlan
protected abstract boolean keepMultiwayJoinsInInitialPhysicalPlan()Return true if this optimizer expects that multiway joins are carried over from the given logical plan into the initial physical plan. Theoptimize(LogicalPlan)
function passes this flag as the second argument of theLogicalToPhysicalPlanConverter.convert(LogicalPlan, boolean)
function. -
optimize
protected abstract Pair<PhysicalPlan,PhysicalOptimizationStats> optimize(PhysicalPlan initialPhysicalPlan) throws PhysicalOptimizationException - Throws:
PhysicalOptimizationException
-