Package com.mongodb.operation
Interface MapReduceBatchCursor<T>
- Type Parameters:
T
- the operations result type.
- All Superinterfaces:
AutoCloseable
,BatchCursor<T>
,Closeable
,Iterator<List<T>>
Deprecated.
Represents the results of a map-reduce operation as a cursor. Users can iterate over the results and additionally get relevant
statistics about the operation.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the statistics for this map-reduce operationMethods inherited from interface com.mongodb.operation.BatchCursor
close, getBatchSize, getServerAddress, getServerCursor, hasNext, next, setBatchSize, tryNext
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
getStatistics
MapReduceStatistics getStatistics()Deprecated.Get the statistics for this map-reduce operation- Returns:
- the statistics
-