Class LogicalPlanOptimizer

  extended by org.apache.pig.newplan.optimizer.PlanOptimizer
      extended by org.apache.pig.newplan.logical.optimizer.LogicalPlanOptimizer

public class LogicalPlanOptimizer
extends PlanOptimizer

Field Summary
Fields inherited from class org.apache.pig.newplan.optimizer.PlanOptimizer
listeners, maxIter, plan, ruleSets
Constructor Summary
LogicalPlanOptimizer(OperatorPlan p, int iterations, Set<String> turnOffRules)
          Create a new LogicalPlanOptimizer.
Method Summary
protected  List<Set<Rule>> buildRuleSets()
Methods inherited from class org.apache.pig.newplan.optimizer.PlanOptimizer
addPlanTransformListener, optimize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public LogicalPlanOptimizer(OperatorPlan p,
                            int iterations,
                            Set<String> turnOffRules)
Create a new LogicalPlanOptimizer.

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.
Method Detail


protected List<Set<Rule>> buildRuleSets()

Copyright © 2007-2012 The Apache Software Foundation