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

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

public class MapReduceCompiler
extends TaskCompiler


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
MapReduceCompiler()
           
 
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)
           
 ParseContext getParseContext(ParseContext pCtx, List<Task<? extends Serializable>> rootTasks)
          Create a clone of the parse context
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, init, optimizeOperatorPlan
 
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

MapReduceCompiler

public MapReduceCompiler()
Method Detail

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.