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