org.apache.blur.mapreduce.lib
Class NullCounter
java.lang.Object
org.apache.blur.mapreduce.lib.NullCounter
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable, org.apache.hadoop.mapreduce.Counter
public class NullCounter
- extends Object
- implements org.apache.hadoop.mapreduce.Counter
NullCounter
public NullCounter()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayName
in interface org.apache.hadoop.mapreduce.Counter
getName
public String getName()
- Specified by:
getName
in interface org.apache.hadoop.mapreduce.Counter
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface org.apache.hadoop.mapreduce.Counter
getValue
public long getValue()
- Specified by:
getValue
in interface org.apache.hadoop.mapreduce.Counter
setValue
public void setValue(long value)
- Specified by:
setValue
in interface org.apache.hadoop.mapreduce.Counter
increment
public void increment(long incr)
- Specified by:
increment
in interface org.apache.hadoop.mapreduce.Counter
getUnderlyingCounter
public org.apache.hadoop.mapreduce.Counter getUnderlyingCounter()
- Specified by:
getUnderlyingCounter
in interface org.apache.hadoop.mapreduce.Counter
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.