Spring Data MongoDB

org.springframework.data.mongodb.core.mapreduce
Class MapReduceCounts

java.lang.Object
  extended by org.springframework.data.mongodb.core.mapreduce.MapReduceCounts

public class MapReduceCounts
extends Object

Value object to encapsulate results of a map-reduce count.

Author:
Mark Pollack, Oliver Gierke

Field Summary
static MapReduceCounts NONE
           
 
Constructor Summary
MapReduceCounts(long inputCount, long emitCount, long outputCount)
          Creates a new MapReduceCounts using the given input count, emit count, and output count.
 
Method Summary
 boolean equals(Object obj)
           
 long getEmitCount()
           
 long getInputCount()
           
 long getOutputCount()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static MapReduceCounts NONE
Constructor Detail

MapReduceCounts

public MapReduceCounts(long inputCount,
                       long emitCount,
                       long outputCount)
Creates a new MapReduceCounts using the given input count, emit count, and output count.

Parameters:
inputCount -
emitCount -
outputCount -
Method Detail

getInputCount

public long getInputCount()

getEmitCount

public long getEmitCount()

getOutputCount

public long getOutputCount()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Spring Data MongoDB

Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.