org.apache.pig.impl.plan.optimizer
Class CommonNodeFinder
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<RuleOperator,RulePlan>
org.apache.pig.impl.plan.optimizer.RulePlanVisitor
org.apache.pig.impl.plan.optimizer.CommonNodeFinder
public class CommonNodeFinder
- extends RulePlanVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonNodeFinder
public CommonNodeFinder(RulePlan plan)
getCount
public int getCount()
getCommonNodes
public List<RuleOperator> getCommonNodes()
visit
public void visit()
throws VisitorException
- Description copied from class:
PlanVisitor
- Entry point for visiting the plan.
- Overrides:
visit
in class PlanVisitor<RuleOperator,RulePlan>
- Throws:
VisitorException
- if an error is encountered while visiting.
visit
protected void visit(RuleOperator ruleOp)
throws VisitorException
- Overrides:
visit
in class RulePlanVisitor
- Parameters:
ruleOp
- the rule operator that has to be visited
- Throws:
VisitorException
Copyright © ${year} The Apache Software Foundation