Class MapReduceStatistics


  • @Deprecated
    public class MapReduceStatistics
    extends Object
    Deprecated.
    Common statistics returned by running all types of map-reduce operations.
    Since:
    3.0
    • Constructor Detail

      • MapReduceStatistics

        public MapReduceStatistics(int inputCount,
                                   int outputCount,
                                   int emitCount,
                                   int duration)
        Deprecated.
        Construct a new instance.
        Parameters:
        inputCount - the input count.
        outputCount - the output count.
        emitCount - the emit count.
        duration - the duration.
    • Method Detail

      • getInputCount

        public int getInputCount()
        Deprecated.
        Get the number of documents that were input into the map reduce operation
        Returns:
        the number of documents that read while processing this map reduce
      • getOutputCount

        public int getOutputCount()
        Deprecated.
        Get the number of documents generated as a result of this map reduce
        Returns:
        the number of documents output by the map reduce
      • getEmitCount

        public int getEmitCount()
        Deprecated.
        Get the number of messages emitted from the provided map function.
        Returns:
        the number of items emitted from the map function
      • getDuration

        public int getDuration()
        Deprecated.
        Get the amount of time it took to run the map-reduce.
        Returns:
        the duration in milliseconds