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

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

public class TezCompiler
extends TaskCompiler

TezCompiler translates the operator plan into TezTasks.


Field Summary
protected  org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.TaskCompiler
conf, console, db
 
Constructor Summary
TezCompiler()
           
 
Method Summary
protected  void decideExecMode(List<Task<? extends Serializable>> rootTasks, Context ctx, GlobalLimitCtx globalLimitCtx)
           
protected  void generateTaskTree(List<Task<? extends Serializable>> rootTasks, ParseContext pCtx, List<Task<MoveWork>> mvTask, Set<ReadEntity> inputs, Set<WriteEntity> outputs)
           
 void init(HiveConf conf, SessionState.LogHelper console, Hive db)
           
protected  void optimizeOperatorPlan(ParseContext pCtx, Set<ReadEntity> inputs, Set<WriteEntity> outputs)
           
protected  void optimizeTaskPlan(List<Task<? extends Serializable>> rootTasks, ParseContext pCtx, Context ctx)
           
protected  void setInputFormat(Task<? extends Serializable> task)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.parse.TaskCompiler
compile, genColumnStatsTask, getLeafTasks, getParseContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.commons.logging.Log LOG
Constructor Detail

TezCompiler

public TezCompiler()
Method Detail

init

public void init(HiveConf conf,
                 SessionState.LogHelper console,
                 Hive db)
Overrides:
init in class TaskCompiler

optimizeOperatorPlan

protected void optimizeOperatorPlan(ParseContext pCtx,
                                    Set<ReadEntity> inputs,
                                    Set<WriteEntity> outputs)
                             throws SemanticException
Overrides:
optimizeOperatorPlan in class TaskCompiler
Throws:
SemanticException

generateTaskTree

protected void generateTaskTree(List<Task<? extends Serializable>> rootTasks,
                                ParseContext pCtx,
                                List<Task<MoveWork>> mvTask,
                                Set<ReadEntity> inputs,
                                Set<WriteEntity> outputs)
                         throws SemanticException
Specified by:
generateTaskTree in class TaskCompiler
Throws:
SemanticException

setInputFormat

protected void setInputFormat(Task<? extends Serializable> task)
Specified by:
setInputFormat in class TaskCompiler

decideExecMode

protected void decideExecMode(List<Task<? extends Serializable>> rootTasks,
                              Context ctx,
                              GlobalLimitCtx globalLimitCtx)
                       throws SemanticException
Specified by:
decideExecMode in class TaskCompiler
Throws:
SemanticException

optimizeTaskPlan

protected void optimizeTaskPlan(List<Task<? extends Serializable>> rootTasks,
                                ParseContext pCtx,
                                Context ctx)
                         throws SemanticException
Specified by:
optimizeTaskPlan in class TaskCompiler
Throws:
SemanticException


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