public class LogicalPlanOptimizer extends PlanOptimizer
listeners, maxIter, plan, ruleSets
Constructor and Description |
---|
LogicalPlanOptimizer(OperatorPlan p,
int iterations,
java.util.Set<java.lang.String> turnOffRules) |
LogicalPlanOptimizer(OperatorPlan p,
int iterations,
java.util.Set<java.lang.String> turnOffRules,
PigContext pc)
Create a new LogicalPlanOptimizer.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.util.Set<Rule>> |
buildRuleSets() |
addPlanTransformListener, optimize
public LogicalPlanOptimizer(OperatorPlan p, int iterations, java.util.Set<java.lang.String> turnOffRules)
public LogicalPlanOptimizer(OperatorPlan p, int iterations, java.util.Set<java.lang.String> turnOffRules, PigContext pc)
p
- Plan to optimize.iterations
- Maximum number of optimizer iterations.turnOffRules
- Optimization rules to disable. "all" disables all non-mandatory
rules. null enables all rules.pc
- PigContext objectprotected java.util.List<java.util.Set<Rule>> buildRuleSets()
Copyright © 2007-2012 The Apache Software Foundation