org.apache.hadoop.hive.ql.exec
Class TaskFactory

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.TaskFactory

public final class TaskFactory
extends Object

TaskFactory implementation.


Nested Class Summary
static class TaskFactory.TaskTuple<T extends Serializable>
          taskTuple.
 
Field Summary
static ArrayList<TaskFactory.TaskTuple<? extends Serializable>> taskvec
           
 
Method Summary
static
<T extends Serializable>
Task<T>
get(Class<T> workClass, HiveConf conf)
           
static
<T extends Serializable>
Task<T>
get(T work, HiveConf conf, Task<? extends Serializable>... tasklist)
           
static int getAndIncrementId()
           
static
<T extends Serializable>
Task<T>
getAndMakeChild(T work, HiveConf conf, Task<? extends Serializable>... tasklist)
           
static void makeChild(Task<?> ret, Task<? extends Serializable>... tasklist)
           
static void resetId()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskvec

public static ArrayList<TaskFactory.TaskTuple<? extends Serializable>> taskvec
Method Detail

getAndIncrementId

public static int getAndIncrementId()

resetId

public static void resetId()

get

public static <T extends Serializable> Task<T> get(Class<T> workClass,
                                                   HiveConf conf)

get

public static <T extends Serializable> Task<T> get(T work,
                                                   HiveConf conf,
                                                   Task<? extends Serializable>... tasklist)

getAndMakeChild

public static <T extends Serializable> Task<T> getAndMakeChild(T work,
                                                               HiveConf conf,
                                                               Task<? extends Serializable>... tasklist)

makeChild

public static void makeChild(Task<?> ret,
                             Task<? extends Serializable>... tasklist)


Copyright © 2014 The Apache Software Foundation. All rights reserved.