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,
org.bson.Document rawResults)
Creates a new
MapReduceResults from the given mapped results and the raw one. |
| Modifier and Type | Method and Description |
|---|---|
MapReduceCounts |
getCounts() |
String |
getOutputCollection() |
org.bson.Document |
getRawResults() |
MapReduceTiming |
getTiming() |
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MapReduceResults(List<T> mappedResults, org.bson.Document rawResults)
MapReduceResults from the given mapped results and the raw one.mappedResults - must not be null.rawResults - must not be null.public MapReduceTiming getTiming()
public MapReduceCounts getCounts()
@Nullable public org.bson.Document getRawResults()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.