Class IterativeImprovementBasedQueryOptimizer
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.RandomizedQueryOptimizerBase
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.IterativeImprovementBasedQueryOptimizer
- All Implemented Interfaces:
PhysicalOptimizer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StoppingConditionForIterativeImprovement
protected final SimpleJoinOrderingQueryOptimizer
Fields inherited from class se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.RandomizedQueryOptimizerBase
costModel, l2pConverter, rng, rules
-
Constructor Summary
ConstructorsConstructorDescriptionIterativeImprovementBasedQueryOptimizer
(StoppingConditionForIterativeImprovement x, LogicalToPhysicalPlanConverter l2pConverter, CostModel costModel, RuleInstances rewritingRules) -
Method Summary
Modifier and TypeMethodDescriptionboolean
optimize
(LogicalPlan initialPlan) optimize
(PhysicalPlan initialPlan) Methods inherited from class se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.RandomizedQueryOptimizerBase
getNeighbours, getRandomElement
-
Field Details
-
condition
-
simpleOptimizer
-
-
Constructor Details
-
IterativeImprovementBasedQueryOptimizer
public IterativeImprovementBasedQueryOptimizer(StoppingConditionForIterativeImprovement x, LogicalToPhysicalPlanConverter l2pConverter, CostModel costModel, RuleInstances rewritingRules)
-
-
Method Details
-
assumesLogicalMultiwayJoins
public boolean assumesLogicalMultiwayJoins() -
optimize
public Pair<PhysicalPlan,PhysicalOptimizationStats> optimize(LogicalPlan initialPlan) throws PhysicalOptimizationException - Throws:
PhysicalOptimizationException
-
optimize
public Pair<PhysicalPlan,PhysicalOptimizationStats> optimize(PhysicalPlan initialPlan) throws PhysicalOptimizationException - Throws:
PhysicalOptimizationException
-