public class MRCounters
extends org.apache.hadoop.mapred.Counters
Modifier and Type | Class and Description |
---|---|
static class |
MRCounters.MRCounter |
static class |
MRCounters.MRCounterGroup |
Constructor and Description |
---|
MRCounters(org.apache.tez.common.counters.TezCounters raw) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.Counters.Counter |
findCounter(String group,
int id,
String name)
Deprecated.
|
org.apache.hadoop.mapred.Counters.Counter |
findCounter(String group,
String name) |
long |
getCounter(Enum<?> key) |
org.apache.hadoop.mapred.Counters.Group |
getGroup(String groupName) |
Collection<String> |
getGroupNames() |
void |
incrAllCounters(org.apache.hadoop.mapred.Counters other) |
void |
incrCounter(Enum<?> key,
long amount) |
void |
incrCounter(String group,
String counter,
long amount) |
String |
makeCompactString() |
String |
makeEscapedCompactString() |
int |
size()
Deprecated.
|
public org.apache.hadoop.mapred.Counters.Group getGroup(String groupName)
getGroup
in class org.apache.hadoop.mapred.Counters
public Collection<String> getGroupNames()
getGroupNames
in class org.apache.hadoop.mapred.Counters
public String makeCompactString()
makeCompactString
in class org.apache.hadoop.mapred.Counters
public org.apache.hadoop.mapred.Counters.Counter findCounter(String group, String name)
findCounter
in class org.apache.hadoop.mapred.Counters
@Deprecated public org.apache.hadoop.mapred.Counters.Counter findCounter(String group, int id, String name)
findCounter
in class org.apache.hadoop.mapred.Counters
public void incrCounter(Enum<?> key, long amount)
incrCounter
in class org.apache.hadoop.mapred.Counters
public void incrCounter(String group, String counter, long amount)
incrCounter
in class org.apache.hadoop.mapred.Counters
public long getCounter(Enum<?> key)
getCounter
in class org.apache.hadoop.mapred.Counters
public void incrAllCounters(org.apache.hadoop.mapred.Counters other)
incrAllCounters
in class org.apache.hadoop.mapred.Counters
@Deprecated public int size()
size
in class org.apache.hadoop.mapred.Counters
public String makeEscapedCompactString()
makeEscapedCompactString
in class org.apache.hadoop.mapred.Counters
Copyright © 2017 Apache Software Foundation. All rights reserved.