Class HeuristicsBasedLogicalOptimizerImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.loptimizer.HeuristicsBasedLogicalOptimizerImpl
- All Implemented Interfaces:
LogicalOptimizer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final QueryProcContext
protected final List<HeuristicForLogicalOptimization>
-
Constructor Summary
ConstructorsConstructorDescriptionHeuristicsBasedLogicalOptimizerImpl
(QueryProcContext ctxt, List<HeuristicForLogicalOptimization> heuristics) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<HeuristicForLogicalOptimization>
optimize
(LogicalPlan inputPlan, boolean keepNaryOperators)
-
Field Details
-
heuristics
-
ctxt
-
-
Constructor Details
-
HeuristicsBasedLogicalOptimizerImpl
public HeuristicsBasedLogicalOptimizerImpl(QueryProcContext ctxt, List<HeuristicForLogicalOptimization> heuristics)
-
-
Method Details
-
getDefaultHeuristics
-
optimize
public LogicalPlan optimize(LogicalPlan inputPlan, boolean keepNaryOperators) throws LogicalOptimizationException - Specified by:
optimize
in interfaceLogicalOptimizer
- Throws:
LogicalOptimizationException
-