public class FetchTaskContext extends TaskContext<FetchContext>
Constructor and Description |
---|
FetchTaskContext(FetchContext context) |
Modifier and Type | Method and Description |
---|---|
FetchContext |
get() |
org.apache.hadoop.mapreduce.Counter |
getCounter(Enum<?> name) |
org.apache.hadoop.mapreduce.Counter |
getCounter(String group,
String name) |
boolean |
incrCounter(Enum<?> name,
long delta) |
boolean |
incrCounter(String group,
String name,
long delta) |
getProgress, progress, setStatus
public FetchTaskContext(FetchContext context)
public FetchContext get()
get
in class TaskContext<FetchContext>
public org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
getCounter
in class TaskContext<FetchContext>
public org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
getCounter
in class TaskContext<FetchContext>
public boolean incrCounter(Enum<?> name, long delta)
incrCounter
in class TaskContext<FetchContext>
public boolean incrCounter(String group, String name, long delta)
incrCounter
in class TaskContext<FetchContext>
Copyright © 2007-2017 The Apache Software Foundation