public static class MRCounters.MRCounterGroup
extends org.apache.hadoop.mapred.Counters.Group
Constructor and Description |
---|
MRCounters.MRCounterGroup(org.apache.tez.common.counters.CounterGroup group) |
Modifier and Type | Method and Description |
---|---|
void |
addCounter(org.apache.hadoop.mapred.Counters.Counter counter) |
org.apache.hadoop.mapred.Counters.Counter |
addCounter(String name,
String displayName,
long value) |
boolean |
equals(Object o) |
org.apache.hadoop.mapred.Counters.Counter |
findCounter(String counterName,
String displayName) |
String |
getDisplayName() |
String |
getName() |
org.apache.hadoop.mapreduce.counters.CounterGroupBase |
getUnderlyingGroup() |
int |
hashCode() |
void |
incrAllCounters(org.apache.hadoop.mapreduce.counters.CounterGroupBase rightGroup) |
Iterator |
iterator() |
void |
readFields(DataInput arg0) |
void |
setDisplayName(String displayName) |
int |
size() |
void |
write(DataOutput arg0) |
public MRCounters.MRCounterGroup(org.apache.tez.common.counters.CounterGroup group)
public String getName()
getName
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
getName
in class org.apache.hadoop.mapred.Counters.Group
public String getDisplayName()
getDisplayName
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
getDisplayName
in class org.apache.hadoop.mapred.Counters.Group
public void setDisplayName(String displayName)
setDisplayName
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
setDisplayName
in class org.apache.hadoop.mapred.Counters.Group
public void addCounter(org.apache.hadoop.mapred.Counters.Counter counter)
addCounter
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
addCounter
in class org.apache.hadoop.mapred.Counters.Group
public org.apache.hadoop.mapred.Counters.Counter addCounter(String name, String displayName, long value)
addCounter
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
addCounter
in class org.apache.hadoop.mapred.Counters.Group
public org.apache.hadoop.mapred.Counters.Counter findCounter(String counterName, String displayName)
findCounter
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
findCounter
in class org.apache.hadoop.mapred.Counters.Group
public int size()
size
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
size
in class org.apache.hadoop.mapred.Counters.Group
public org.apache.hadoop.mapreduce.counters.CounterGroupBase getUnderlyingGroup()
getUnderlyingGroup
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
getUnderlyingGroup
in class org.apache.hadoop.mapred.Counters.Group
public void incrAllCounters(org.apache.hadoop.mapreduce.counters.CounterGroupBase rightGroup)
incrAllCounters
in interface org.apache.hadoop.mapreduce.counters.CounterGroupBase<org.apache.hadoop.mapred.Counters.Counter>
incrAllCounters
in class org.apache.hadoop.mapred.Counters.Group
public void readFields(DataInput arg0) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.mapred.Counters.Group
IOException
public void write(DataOutput arg0) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.mapred.Counters.Group
IOException
public Iterator iterator()
public boolean equals(Object o)
equals
in class org.apache.hadoop.mapred.Counters.Group
public int hashCode()
hashCode
in class org.apache.hadoop.mapred.Counters.Group
Copyright © 2017 Apache Software Foundation. All rights reserved.