Package com.mongodb.operation
Interface MapReduceBatchCursor<T>
-
- Type Parameters:
T
- the operations result type.
- All Superinterfaces:
java.lang.AutoCloseable
,BatchCursor<T>
,java.io.Closeable
,java.util.Iterator<java.util.List<T>>
@Deprecated public interface MapReduceBatchCursor<T> extends BatchCursor<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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description MapReduceStatistics
getStatistics()
Deprecated.Get the statistics for this map-reduce operation-
Methods inherited from interface com.mongodb.operation.BatchCursor
close, getBatchSize, getServerAddress, getServerCursor, hasNext, next, setBatchSize, tryNext
-
-
-
-
Method Detail
-
getStatistics
MapReduceStatistics getStatistics()
Deprecated.Get the statistics for this map-reduce operation- Returns:
- the statistics
-
-