org.apache.hadoop.hive.ql.lib
Class PreOrderWalker
java.lang.Object
org.apache.hadoop.hive.ql.lib.DefaultGraphWalker
org.apache.hadoop.hive.ql.lib.PreOrderWalker
- All Implemented Interfaces:
- GraphWalker
public class PreOrderWalker
- extends DefaultGraphWalker
base class for operator graph walker
this class takes list of starting ops and walks them one by one.
Method Summary |
void |
walk(Node nd)
walk the current operator and its descendants |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreOrderWalker
public PreOrderWalker(Dispatcher disp)
- Constructor
- Parameters:
disp
- dispatcher to call for each op encountered
walk
public void walk(Node nd)
throws SemanticException
- walk the current operator and its descendants
- Overrides:
walk
in class DefaultGraphWalker
- Parameters:
nd
- current operator in the graph
- Throws:
SemanticException
Copyright © 2009 The Apache Software Foundation