org.apache.hadoop.hive.ql.optimizer
Class ColumnPruner.ColumnPrunerWalker

java.lang.Object
  extended by org.apache.hadoop.hive.ql.lib.DefaultGraphWalker
      extended by org.apache.hadoop.hive.ql.optimizer.ColumnPruner.ColumnPrunerWalker
All Implemented Interfaces:
GraphWalker
Enclosing class:
ColumnPruner

public static class ColumnPruner.ColumnPrunerWalker
extends DefaultGraphWalker

Walks the op tree in post order fashion (skips selects with file sink or script op children).


Constructor Summary
ColumnPruner.ColumnPrunerWalker(Dispatcher disp)
           
 
Method Summary
 void walk(Node nd)
          Walk the given operator.
 
Methods inherited from class org.apache.hadoop.hive.ql.lib.DefaultGraphWalker
dispatch, dispatchAndReturn, getDispatchedList, getToWalk, startWalking
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnPruner.ColumnPrunerWalker

public ColumnPruner.ColumnPrunerWalker(Dispatcher disp)
Method Detail

walk

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

Overrides:
walk in class DefaultGraphWalker
Parameters:
nd - current operator in the graph
Throws:
SemanticException


Copyright © 2014 The Apache Software Foundation. All rights reserved.