public class MapReduceCompiler extends TaskCompiler
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
LOG |
conf, console, db, queryState| Constructor and Description |
|---|
MapReduceCompiler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decideExecMode(List<Task<?>> rootTasks,
Context ctx,
GlobalLimitCtx globalLimitCtx) |
protected void |
generateTaskTree(List<Task<?>> rootTasks,
ParseContext pCtx,
List<Task<MoveWork>> mvTask,
Set<ReadEntity> inputs,
Set<WriteEntity> outputs) |
void |
init(QueryState queryState,
SessionState.LogHelper console,
Hive db) |
protected void |
optimizeOperatorPlan(ParseContext pCtx) |
protected void |
optimizeTaskPlan(List<Task<?>> rootTasks,
ParseContext pCtx,
Context ctx) |
protected void |
setInputFormat(Task<?> task) |
compile, genColumnStatsTask, getParseContext, runDynPartitionSortOptimizationspublic void init(QueryState queryState, SessionState.LogHelper console, Hive db)
init in class TaskCompilerprotected void setInputFormat(Task<?> task)
setInputFormat in class TaskCompilerprotected void optimizeOperatorPlan(ParseContext pCtx) throws SemanticException
optimizeOperatorPlan in class TaskCompilerSemanticExceptionprotected void decideExecMode(List<Task<?>> rootTasks, Context ctx, GlobalLimitCtx globalLimitCtx) throws SemanticException
decideExecMode in class TaskCompilerSemanticExceptionprotected void optimizeTaskPlan(List<Task<?>> rootTasks, ParseContext pCtx, Context ctx) throws SemanticException
optimizeTaskPlan in class TaskCompilerSemanticExceptionprotected void generateTaskTree(List<Task<?>> rootTasks, ParseContext pCtx, List<Task<MoveWork>> mvTask, Set<ReadEntity> inputs, Set<WriteEntity> outputs) throws SemanticException
generateTaskTree in class TaskCompilerSemanticExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.