org.apache.blur.mapreduce.lib
Class NullCounter

java.lang.Object
  extended by 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


Constructor Summary
NullCounter()
           
 
Method Summary
 String getDisplayName()
           
 String getName()
           
 org.apache.hadoop.mapreduce.Counter getUnderlyingCounter()
           
 long getValue()
           
 void increment(long incr)
           
 void readFields(DataInput in)
           
 void setDisplayName(String displayName)
           
 void setValue(long value)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCounter

public NullCounter()
Method Detail

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.