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

java.lang.Object
  extended by 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.


Constructor Summary
TaskCompiler()
           
 
Method Summary
 void compile(ParseContext pCtx, List<Task<? extends Serializable>> rootTasks, HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs)
           
 ParseContext getParseContext(ParseContext pCtx, List<Task<? extends Serializable>> rootTasks)
          Create a clone of the parse context
 void init(HiveConf conf, SessionState.LogHelper console, Hive db)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskCompiler

public TaskCompiler()
Method Detail

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.