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,
DBObject rawResults)
Creates a new
MapReduceResults from the given mapped results and the raw one. |
Modifier and Type | Method and Description |
---|---|
MapReduceCounts |
getCounts() |
String |
getOutputCollection() |
DBObject |
getRawResults() |
MapReduceTiming |
getTiming() |
Iterator<T> |
iterator() |
public MapReduceResults(List<T> mappedResults, DBObject 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()
public String getOutputCollection()
public DBObject getRawResults()
Copyright © 2012. All Rights Reserved.