public class GenSparkWorkWalker extends DefaultGraphWalker
dispatcher, opQueue, opStack, retMap, toWalk
Constructor and Description |
---|
GenSparkWorkWalker(Dispatcher disp,
GenSparkProcContext ctx)
constructor of the walker - the dispatcher is passed.
|
Modifier and Type | Method and Description |
---|---|
void |
startWalking(Collection<Node> startNodes,
HashMap<Node,Object> nodeOutput)
starting point for walking.
|
protected void |
walk(Node nd)
Walk the given operator.
|
dispatch, dispatchAndReturn, getDispatchedList
public GenSparkWorkWalker(Dispatcher disp, GenSparkProcContext ctx)
disp
- the dispatcher to be called for each node visitedctx
- the context where we'll set the current root operatorpublic void startWalking(Collection<Node> startNodes, HashMap<Node,Object> nodeOutput) throws SemanticException
startWalking
in interface GraphWalker
startWalking
in class DefaultGraphWalker
startNodes
- list of starting operatorsnodeOutput
- If this parameter is not null, the call to the function returns
the map from node to objects returned by the processors.SemanticException
protected void walk(Node nd) throws SemanticException
walk
in class DefaultGraphWalker
nd
- operator being walkedSemanticException
Copyright © 2016 The Apache Software Foundation. All rights reserved.