Class PhysicalOptimizerWithoutOptimization
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.PhysicalOptimizerBase
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.PhysicalOptimizerWithoutOptimization
- All Implemented Interfaces:
PhysicalOptimizer
-
Field Summary
Fields inherited from class se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.PhysicalOptimizerBase
l2pConverter
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Return true if this optimizer expects that multiway joins are carried over from the given logical plan into the initial physical plan.optimize
(PhysicalPlan initialPlan) Methods inherited from class se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.PhysicalOptimizerBase
optimize
-
Constructor Details
-
PhysicalOptimizerWithoutOptimization
-
-
Method Details
-
assumesLogicalMultiwayJoins
public boolean assumesLogicalMultiwayJoins() -
keepMultiwayJoinsInInitialPhysicalPlan
public boolean keepMultiwayJoinsInInitialPhysicalPlan()Description copied from class:PhysicalOptimizerBase
Return true if this optimizer expects that multiway joins are carried over from the given logical plan into the initial physical plan. ThePhysicalOptimizerBase.optimize(LogicalPlan)
function passes this flag as the second argument of theLogicalToPhysicalPlanConverter.convert(LogicalPlan, boolean)
function.- Specified by:
keepMultiwayJoinsInInitialPhysicalPlan
in classPhysicalOptimizerBase
-
optimize
public Pair<PhysicalPlan,PhysicalOptimizationStats> optimize(PhysicalPlan initialPlan) throws PhysicalOptimizationException - Specified by:
optimize
in classPhysicalOptimizerBase
- Throws:
PhysicalOptimizationException
-