public class TezTaskContext extends TaskContext<org.apache.tez.runtime.api.ProcessorContext>
Constructor and Description |
---|
TezTaskContext(org.apache.tez.runtime.api.ProcessorContext context) |
Modifier and Type | Method and Description |
---|---|
org.apache.tez.runtime.api.ProcessorContext |
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 TezTaskContext(org.apache.tez.runtime.api.ProcessorContext context)
public org.apache.tez.runtime.api.ProcessorContext get()
get
in class TaskContext<org.apache.tez.runtime.api.ProcessorContext>
public org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
getCounter
in class TaskContext<org.apache.tez.runtime.api.ProcessorContext>
public org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
getCounter
in class TaskContext<org.apache.tez.runtime.api.ProcessorContext>
public boolean incrCounter(Enum<?> name, long delta)
incrCounter
in class TaskContext<org.apache.tez.runtime.api.ProcessorContext>
public boolean incrCounter(String group, String name, long delta)
incrCounter
in class TaskContext<org.apache.tez.runtime.api.ProcessorContext>
Copyright © 2007-2017 The Apache Software Foundation