org.springframework.data.mongodb.core.mapreduce
Class MapReduceCounts
java.lang.Object
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
Constructor Summary |
MapReduceCounts(long inputCount,
long emitCount,
long outputCount)
Creates a new MapReduceCounts using the given input count, emit count, and output count. |
NONE
public static MapReduceCounts NONE
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
-
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
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.