public class LogicalPlanOptimizer extends PlanOptimizer
listeners, maxIter, plan, ruleSets
Constructor and Description |
---|
LogicalPlanOptimizer(OperatorPlan p,
int iterations,
Set<String> turnOffRules) |
LogicalPlanOptimizer(OperatorPlan p,
int iterations,
Set<String> turnOffRules,
PigContext pc)
Create a new LogicalPlanOptimizer.
|
Modifier and Type | Method and Description |
---|---|
protected List<Set<Rule>> |
buildRuleSets() |
addPlanTransformListener, optimize
public LogicalPlanOptimizer(OperatorPlan p, int iterations, Set<String> turnOffRules)
public LogicalPlanOptimizer(OperatorPlan p, int iterations, Set<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 objectCopyright © 2007-2012 The Apache Software Foundation