Class MapReduceResults<T>

java.lang.Object
org.springframework.data.mongodb.core.mapreduce.MapReduceResults<T>
Type Parameters:
T - The class in which the results are mapped onto, accessible via an iterator.
All Implemented Interfaces:
Iterable<T>

@Deprecated public class MapReduceResults<T> extends Object implements Iterable<T>
Deprecated.
Collects the results of performing a MapReduce operations.
Author:
Mark Pollack, Oliver Gierke, Christoph Strobl, Mark Paluch
  • Constructor Details

    • MapReduceResults

      public MapReduceResults(List<T> mappedResults, org.bson.Document rawResults)
      Deprecated.
      Creates a new MapReduceResults from the given mapped results and the raw one.
      Parameters:
      mappedResults - must not be null.
      rawResults - must not be null.
  • Method Details

    • iterator

      public Iterator<T> iterator()
      Deprecated.
      Specified by:
      iterator in interface Iterable<T>
    • getTiming

      public MapReduceTiming getTiming()
      Deprecated.
    • getCounts

      public MapReduceCounts getCounts()
      Deprecated.
    • getOutputCollection

      @Nullable public String getOutputCollection()
      Deprecated.
    • getRawResults

      @Nullable public org.bson.Document getRawResults()
      Deprecated.