org.springframework.data.mongodb.core.mapreduce
Class GroupByResults<T>
java.lang.Object
org.springframework.data.mongodb.core.mapreduce.GroupByResults<T>
- Type Parameters:
T
- The class in which the results are mapped onto, accessible via an interator.
- All Implemented Interfaces:
- Iterable<T>
public class GroupByResults<T>
- extends Object
- implements Iterable<T>
Collects the results of executing a group operation.
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupByResults
public GroupByResults(List<T> mappedResults,
com.mongodb.DBObject rawResults)
getCount
public double getCount()
getKeys
public int getKeys()
getServerUsed
public String getServerUsed()
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
getRawResults
public com.mongodb.DBObject getRawResults()
Copyright © 2011. All Rights Reserved.