org.apache.hadoop.hive.ql.exec
Class ConditionalTask
java.lang.Object
org.apache.hadoop.hive.ql.exec.Task<ConditionalWork>
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
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 |
ConditionalTask
public ConditionalTask()
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