public class DependencyOrderWalker extends PlanWalker
plan| Constructor and Description |
|---|
DependencyOrderWalker(OperatorPlan plan) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAllPredecessors(Operator node,
Set<Operator> seen,
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, setPlanpublic DependencyOrderWalker(OperatorPlan plan)
plan - for this walker to traverse.public PlanWalker spawnChildWalker(OperatorPlan plan)
PlanWalkerspawnChildWalker in class PlanWalkerplan - Plan for the new walker.public void walk(PlanVisitor visitor) throws FrontendException
walk in class PlanWalkervisitor - Visitor this walker is being used by.VisitorException - if an error is encountered while walking.FrontendExceptionprotected void doAllPredecessors(Operator node, Set<Operator> seen, Collection<Operator> fifo) throws FrontendException
FrontendExceptionCopyright © 2007-2017 The Apache Software Foundation