Class MapReduceStatistics


  • Deprecated.

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

      Constructors 
      Constructor Description
      MapReduceStatistics​(int inputCount, int outputCount, int emitCount, int duration)
      Deprecated. 
      Construct a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getDuration​()
      Deprecated. 
      Get the amount of time it took to run the map-reduce.
      int getEmitCount​()
      Deprecated. 
      Get the number of messages emitted from the provided map function.
      int getInputCount​()
      Deprecated. 
      Get the number of documents that were input into the map reduce operation
      int getOutputCount​()
      Deprecated. 
      Get the number of documents generated as a result of this map reduce
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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