org.apache.hadoop.hive.ql.parse
Class GenMapRedWalker

java.lang.Object
  extended by org.apache.hadoop.hive.ql.lib.DefaultGraphWalker
      extended by org.apache.hadoop.hive.ql.parse.GenMapRedWalker
All Implemented Interfaces:
GraphWalker

public class GenMapRedWalker
extends DefaultGraphWalker

Walks the operator tree in pre order fashion.


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.lib.DefaultGraphWalker
opStack
 
Constructor Summary
GenMapRedWalker(Dispatcher disp)
          constructor of the walker - the dispatcher is passed.
 
Method Summary
 void walk(Node nd)
          Walk the given operator.
 
Methods inherited from class org.apache.hadoop.hive.ql.lib.DefaultGraphWalker
dispatch, getDispatchedList, getToWalk, startWalking
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenMapRedWalker

public GenMapRedWalker(Dispatcher disp)
constructor of the walker - the dispatcher is passed.

Parameters:
disp - the dispatcher to be called for each node visited
Method Detail

walk

public void walk(Node nd)
          throws SemanticException
Walk the given operator.

Overrides:
walk in class DefaultGraphWalker
Parameters:
nd - operator being walked
Throws:
SemanticException


Copyright © 2013 The Apache Software Foundation