org.apache.hadoop.hive.ql
Class DriverContext

java.lang.Object
  extended by org.apache.hadoop.hive.ql.DriverContext

public class DriverContext
extends Object

DriverContext.


Constructor Summary
DriverContext()
           
DriverContext(Queue<Task<? extends Serializable>> runnable, Context ctx)
           
 
Method Summary
 void addToRunnable(Task<? extends Serializable> tsk)
           
 Context getCtx()
           
 int getCurJobNo()
           
 Queue<Task<? extends Serializable>> getRunnable()
           
 void incCurJobNo(int amount)
           
static boolean isLaunchable(Task<? extends Serializable> tsk)
          Checks if a task can be launched.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverContext

public DriverContext()

DriverContext

public DriverContext(Queue<Task<? extends Serializable>> runnable,
                     Context ctx)
Method Detail

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