Package org.apache.drill.exec.opt
Class Optimizer
java.lang.Object
org.apache.drill.exec.opt.Optimizer
- Direct Known Subclasses:
BasicOptimizer
,IdentityOptimizer
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optimizer
getOptimizer
(DrillConfig config) abstract void
init
(DrillConfig config) abstract PhysicalPlan
optimize
(Optimizer.OptimizationContext context, LogicalPlan plan)
-
Field Details
-
OPTIMIZER_IMPL_KEY
-
-
Constructor Details
-
Optimizer
public Optimizer()
-
-
Method Details
-
init
-
optimize
public abstract PhysicalPlan optimize(Optimizer.OptimizationContext context, LogicalPlan plan) throws OptimizerException - Throws:
OptimizerException
-
getOptimizer
- Throws:
DrillConfigurationException
-