public abstract class TaskContext<T> extends Object
Constructor and Description |
---|
TaskContext() |
Modifier and Type | Method and Description |
---|---|
abstract T |
get() |
abstract org.apache.hadoop.mapreduce.Counter |
getCounter(Enum<?> name) |
abstract org.apache.hadoop.mapreduce.Counter |
getCounter(String group,
String name) |
float |
getProgress() |
abstract boolean |
incrCounter(Enum<?> name,
long delta) |
abstract boolean |
incrCounter(String group,
String name,
long delta) |
void |
progress() |
void |
setStatus(String status) |
public abstract T get()
public abstract org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
public abstract org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
public abstract boolean incrCounter(Enum<?> name, long delta)
public void progress()
public float getProgress()
public void setStatus(String status)
Copyright © 2007-2012 The Apache Software Foundation