Package com.mongodb.operation
Class MapReduceStatistics
- java.lang.Object
-
- com.mongodb.operation.MapReduceStatistics
-
Deprecated.
@Deprecated public class MapReduceStatistics extends 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 operationint
getOutputCount()
Deprecated.Get the number of documents generated as a result of this map reduce
-
-
-
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
-
-