public class ReverseDependencyOrderWalker extends PlanWalker
plan
Constructor and Description |
---|
ReverseDependencyOrderWalker(OperatorPlan plan) |
Modifier and Type | Method and Description |
---|---|
protected void |
doAllSuccessors(Operator node,
java.util.Set<Operator> seen,
java.util.Collection<Operator> fifo) |
PlanWalker |
spawnChildWalker(OperatorPlan plan)
Return a new instance of this same type of walker for a subplan.
|
void |
walk(PlanVisitor visitor)
Begin traversing the graph.
|
getPlan, setPlan
public ReverseDependencyOrderWalker(OperatorPlan plan)
public PlanWalker spawnChildWalker(OperatorPlan plan)
PlanWalker
spawnChildWalker
in class PlanWalker
plan
- Plan for the new walker.public void walk(PlanVisitor visitor) throws FrontendException
walk
in class PlanWalker
visitor
- Visitor this walker is being used by.VisitorException
- if an error is encountered while walking.FrontendException
protected void doAllSuccessors(Operator node, java.util.Set<Operator> seen, java.util.Collection<Operator> fifo) throws FrontendException
FrontendException
Copyright © 2007-2012 The Apache Software Foundation