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 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()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object