org.apache.hadoop.hive.ql.parse
Class TezCompiler
java.lang.Object
org.apache.hadoop.hive.ql.parse.TaskCompiler
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
|
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected final org.apache.commons.logging.Log LOG
TezCompiler
public TezCompiler()
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.