org.apache.hadoop.hive.ql.parse
Class MapReduceCompiler
java.lang.Object
org.apache.hadoop.hive.ql.parse.TaskCompiler
org.apache.hadoop.hive.ql.parse.MapReduceCompiler
public class MapReduceCompiler
- extends TaskCompiler
|
Field Summary |
protected org.apache.commons.logging.Log |
LOG
|
| 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
MapReduceCompiler
public MapReduceCompiler()
setInputFormat
protected void setInputFormat(Task<? extends Serializable> task)
- Specified by:
setInputFormat in class TaskCompiler
getParseContext
public ParseContext getParseContext(ParseContext pCtx,
List<Task<? extends Serializable>> rootTasks)
- Description copied from class:
TaskCompiler
- Create a clone of the parse context
- Overrides:
getParseContext 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
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
Copyright © 2014 The Apache Software Foundation. All rights reserved.