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