T - The class in which the results are mapped onto, accessible via an iterator.public class MapReduceResults<T> extends Object implements Iterable<T>
| Constructor and Description |
|---|
MapReduceResults(List<T> mappedResults,
com.mongodb.DBObject rawResults)
Deprecated.
since 1.7. Please use
MapReduceResults(List, MapReduceOutput) |
MapReduceResults(List<T> mappedResults,
com.mongodb.MapReduceOutput mapReduceOutput)
Creates a new
MapReduceResults from the given mapped results and the MapReduceOutput. |
| Modifier and Type | Method and Description |
|---|---|
MapReduceCounts |
getCounts() |
String |
getOutputCollection() |
com.mongodb.DBObject |
getRawResults() |
MapReduceTiming |
getTiming() |
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@Deprecated public MapReduceResults(List<T> mappedResults, com.mongodb.DBObject rawResults)
MapReduceResults(List, MapReduceOutput)MapReduceResults from the given mapped results and the raw one.mappedResults - must not be null.rawResults - must not be null.public MapReduceResults(List<T> mappedResults, com.mongodb.MapReduceOutput mapReduceOutput)
MapReduceResults from the given mapped results and the MapReduceOutput.mappedResults - must not be null.mapReduceOutput - must not be null.public MapReduceTiming getTiming()
public MapReduceCounts getCounts()
public String getOutputCollection()
public com.mongodb.DBObject getRawResults()
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.