org.apache.hadoop.hive.ql.optimizer
Class SimpleFetchOptimizer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer
All Implemented Interfaces:
Transform

public class SimpleFetchOptimizer
extends Object
implements Transform

Tries to convert simple fetch query to single fetch task, which fetches rows directly from location of table/partition.


Constructor Summary
SimpleFetchOptimizer()
           
 
Method Summary
static ListSinkOperator replaceFSwithLS(Operator<?> fileSink, String nullFormat)
           
 ParseContext transform(ParseContext pctx)
          All transformation steps implement this interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFetchOptimizer

public SimpleFetchOptimizer()
Method Detail

transform

public ParseContext transform(ParseContext pctx)
                       throws SemanticException
Description copied from interface: Transform
All transformation steps implement this interface.

Specified by:
transform in interface Transform
Parameters:
pctx - input parse context
Returns:
ParseContext
Throws:
SemanticException

replaceFSwithLS

public static ListSinkOperator replaceFSwithLS(Operator<?> fileSink,
                                               String nullFormat)


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