org.apache.hadoop.hive.ql.parse
Class TaskCompiler
java.lang.Object
org.apache.hadoop.hive.ql.parse.TaskCompiler
- Direct Known Subclasses:
- MapReduceCompiler, TezCompiler
public abstract class TaskCompiler
- extends Object
TaskCompiler is a the base class for classes that compile
operator pipelines into tasks.
TaskCompiler
public TaskCompiler()
init
public void init(HiveConf conf,
SessionState.LogHelper console,
Hive db)
compile
public void compile(ParseContext pCtx,
List<Task<? extends Serializable>> rootTasks,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
getParseContext
public ParseContext getParseContext(ParseContext pCtx,
List<Task<? extends Serializable>> rootTasks)
- Create a clone of the parse context
Copyright © 2014 The Apache Software Foundation. All rights reserved.