public static class MRCounters.MRCounter
extends org.apache.hadoop.mapred.Counters.Counter
Constructor and Description |
---|
MRCounters.MRCounter(org.apache.tez.common.counters.TezCounter raw) |
Modifier and Type | Method and Description |
---|---|
boolean |
contentEquals(org.apache.hadoop.mapred.Counters.Counter counter)
Deprecated.
|
boolean |
equals(Object genericRight) |
long |
getCounter() |
String |
getDisplayName() |
String |
getName() |
org.apache.hadoop.mapreduce.Counter |
getUnderlyingCounter() |
long |
getValue() |
int |
hashCode() |
void |
increment(long incr) |
String |
makeEscapedCompactString() |
void |
readFields(DataInput in) |
void |
setDisplayName(String displayName) |
void |
setValue(long value) |
void |
write(DataOutput out) |
public MRCounters.MRCounter(org.apache.tez.common.counters.TezCounter raw)
public void setDisplayName(String displayName)
setDisplayName
in interface org.apache.hadoop.mapreduce.Counter
setDisplayName
in class org.apache.hadoop.mapred.Counters.Counter
public String getName()
getName
in interface org.apache.hadoop.mapreduce.Counter
getName
in class org.apache.hadoop.mapred.Counters.Counter
public String getDisplayName()
getDisplayName
in interface org.apache.hadoop.mapreduce.Counter
getDisplayName
in class org.apache.hadoop.mapred.Counters.Counter
public long getValue()
getValue
in interface org.apache.hadoop.mapreduce.Counter
getValue
in class org.apache.hadoop.mapred.Counters.Counter
public void setValue(long value)
setValue
in interface org.apache.hadoop.mapreduce.Counter
setValue
in class org.apache.hadoop.mapred.Counters.Counter
public void increment(long incr)
increment
in interface org.apache.hadoop.mapreduce.Counter
increment
in class org.apache.hadoop.mapred.Counters.Counter
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.mapred.Counters.Counter
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.mapred.Counters.Counter
IOException
public String makeEscapedCompactString()
makeEscapedCompactString
in class org.apache.hadoop.mapred.Counters.Counter
@Deprecated public boolean contentEquals(org.apache.hadoop.mapred.Counters.Counter counter)
contentEquals
in class org.apache.hadoop.mapred.Counters.Counter
public long getCounter()
getCounter
in class org.apache.hadoop.mapred.Counters.Counter
public org.apache.hadoop.mapreduce.Counter getUnderlyingCounter()
getUnderlyingCounter
in interface org.apache.hadoop.mapreduce.Counter
getUnderlyingCounter
in class org.apache.hadoop.mapred.Counters.Counter
public boolean equals(Object genericRight)
equals
in class org.apache.hadoop.mapred.Counters.Counter
public int hashCode()
hashCode
in class org.apache.hadoop.mapred.Counters.Counter
Copyright © 2017 Apache Software Foundation. All rights reserved.