org.apache.hadoop.hive.ql
Class DriverContext
java.lang.Object
org.apache.hadoop.hive.ql.DriverContext
public class DriverContext
- extends Object
DriverContext.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriverContext
public DriverContext()
DriverContext
public DriverContext(Queue<Task<? extends Serializable>> runnable,
Context ctx)
getRunnable
public Queue<Task<? extends Serializable>> getRunnable()
isLaunchable
public static boolean isLaunchable(Task<? extends Serializable> tsk)
- Checks if a task can be launched.
- Parameters:
tsk
- the task to be checked
- Returns:
- true if the task is launchable, false otherwise
addToRunnable
public void addToRunnable(Task<? extends Serializable> tsk)
getCurJobNo
public int getCurJobNo()
getCtx
public Context getCtx()
incCurJobNo
public void incCurJobNo(int amount)
Copyright © 2013 The Apache Software Foundation