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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Task<ConditionalWork>
      extended by org.apache.hadoop.hive.ql.exec.ConditionalTask
All Implemented Interfaces:
Serializable

public class ConditionalTask
extends Task<ConditionalWork>
implements Serializable

Conditional Task implementation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Task
childTasks, conf, console, db, id, LOG, parentTasks, work
 
Constructor Summary
ConditionalTask()
           
 
Method Summary
 int execute()
           
 List<Task<? extends Serializable>> getListTasks()
           
 ConditionalResolver getResolver()
           
 Object getResolverCtx()
           
 boolean hasReduce()
           
 void initialize(HiveConf conf)
           
 boolean isMapRedTask()
           
 void setListTasks(List<Task<? extends Serializable>> listTasks)
           
 void setResolver(ConditionalResolver resolver)
           
 void setResolverCtx(Object resolverCtx)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Task
addDependentTask, done, fetch, getChildTasks, getId, getParentTasks, getWork, isRunnable, removeDependentTask, setChildTasks, setDone, setId, setParentTasks, setWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalTask

public ConditionalTask()
Method Detail

isMapRedTask

public boolean isMapRedTask()
Overrides:
isMapRedTask in class Task<ConditionalWork>

hasReduce

public boolean hasReduce()
Overrides:
hasReduce in class Task<ConditionalWork>

initialize

public void initialize(HiveConf conf)
Overrides:
initialize in class Task<ConditionalWork>

execute

public int execute()
Specified by:
execute in class Task<ConditionalWork>

getResolver

public ConditionalResolver getResolver()
Returns:
the resolver

setResolver

public void setResolver(ConditionalResolver resolver)
Parameters:
resolver - the resolver to set

getResolverCtx

public Object getResolverCtx()
Returns:
the resolverCtx

setResolverCtx

public void setResolverCtx(Object resolverCtx)
Parameters:
resolverCtx - the resolverCtx to set

getListTasks

public List<Task<? extends Serializable>> getListTasks()
Returns:
the listTasks

setListTasks

public void setListTasks(List<Task<? extends Serializable>> listTasks)
Parameters:
listTasks - the listTasks to set


Copyright © 2009 The Apache Software Foundation