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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.GenTezUtils

public class GenTezUtils
extends Object

GenTezUtils is a collection of shared helper methods to produce TezWork


Constructor Summary
protected GenTezUtils()
           
 
Method Summary
 MapWork createMapWork(GenTezProcContext context, Operator<?> root, TezWork tezWork, PrunedPartitionList partitions)
           
 ReduceWork createReduceWork(GenTezProcContext context, Operator<?> root, TezWork tezWork)
           
 UnionWork createUnionWork(GenTezProcContext context, Operator<?> operator, TezWork tezWork)
           
static GenTezUtils getUtils()
           
 void processFileSink(GenTezProcContext context, FileSinkOperator fileSink)
           
 void removeUnionOperators(org.apache.hadoop.conf.Configuration conf, GenTezProcContext context, BaseWork work)
           
 void resetSequenceNumber()
           
protected  void setupMapWork(MapWork mapWork, GenTezProcContext context, PrunedPartitionList partitions, Operator<? extends OperatorDesc> root, String alias)
           
protected  void setupReduceSink(GenTezProcContext context, ReduceWork reduceWork, ReduceSinkOperator reduceSink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenTezUtils

protected GenTezUtils()
Method Detail

getUtils

public static GenTezUtils getUtils()

resetSequenceNumber

public void resetSequenceNumber()

createUnionWork

public UnionWork createUnionWork(GenTezProcContext context,
                                 Operator<?> operator,
                                 TezWork tezWork)

createReduceWork

public ReduceWork createReduceWork(GenTezProcContext context,
                                   Operator<?> root,
                                   TezWork tezWork)

setupReduceSink

protected void setupReduceSink(GenTezProcContext context,
                               ReduceWork reduceWork,
                               ReduceSinkOperator reduceSink)

createMapWork

public MapWork createMapWork(GenTezProcContext context,
                             Operator<?> root,
                             TezWork tezWork,
                             PrunedPartitionList partitions)
                      throws SemanticException
Throws:
SemanticException

setupMapWork

protected void setupMapWork(MapWork mapWork,
                            GenTezProcContext context,
                            PrunedPartitionList partitions,
                            Operator<? extends OperatorDesc> root,
                            String alias)
                     throws SemanticException
Throws:
SemanticException

removeUnionOperators

public void removeUnionOperators(org.apache.hadoop.conf.Configuration conf,
                                 GenTezProcContext context,
                                 BaseWork work)
                          throws SemanticException
Throws:
SemanticException

processFileSink

public void processFileSink(GenTezProcContext context,
                            FileSinkOperator fileSink)
                     throws SemanticException
Throws:
SemanticException


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