Class TwoPhaseQueryOptimizer
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.TwoPhaseQueryOptimizer
- All Implemented Interfaces:
PhysicalOptimizer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IterativeImprovementBasedQueryOptimizer
protected final SimulatedAnnealing
-
Constructor Summary
ConstructorsConstructorDescriptionTwoPhaseQueryOptimizer
(StoppingConditionForIterativeImprovement condition1, EquilibriumConditionForSimulatedAnnealing condition2, LogicalToPhysicalPlanConverter l2pConverter, CostModel costModel, RuleInstances rewritingRules) -
Method Summary
-
Field Details
-
optimizer1
-
optimizer2
-
-
Constructor Details
-
TwoPhaseQueryOptimizer
public TwoPhaseQueryOptimizer(StoppingConditionForIterativeImprovement condition1, EquilibriumConditionForSimulatedAnnealing condition2, LogicalToPhysicalPlanConverter l2pConverter, CostModel costModel, RuleInstances rewritingRules)
-
-
Method Details
-
assumesLogicalMultiwayJoins
public boolean assumesLogicalMultiwayJoins()- Specified by:
assumesLogicalMultiwayJoins
in interfacePhysicalOptimizer
-
optimize
public Pair<PhysicalPlan,PhysicalOptimizationStats> optimize(LogicalPlan initialPlan) throws PhysicalOptimizationException - Specified by:
optimize
in interfacePhysicalOptimizer
- Throws:
PhysicalOptimizationException
-