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, getDispatchedListpublic 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 GraphWalkerstartWalking in class DefaultGraphWalkerstartNodes - 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.SemanticExceptionprotected void walk(Node nd) throws SemanticException
walk in class DefaultGraphWalkernd - operator being walkedSemanticExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.