public class MapReduceOutput
extends java.lang.Object
Constructor and Description |
---|
MapReduceOutput(DBCollection from,
DBObject cmd,
BasicDBObject raw) |
Modifier and Type | Method and Description |
---|---|
void |
drop()
drops the collection that holds the results
|
DBObject |
getCommand() |
DBCollection |
getOutputCollection()
gets the collection that holds the results
(Will return null if results are Inline)
|
BasicDBObject |
getRaw() |
java.lang.Iterable<DBObject> |
results()
returns a cursor to the results of the operation
|
java.lang.String |
toString() |
public MapReduceOutput(DBCollection from, DBObject cmd, BasicDBObject raw)
public java.lang.Iterable<DBObject> results()
public void drop()
public DBCollection getOutputCollection()
public BasicDBObject getRaw()
public DBObject getCommand()
public java.lang.String toString()
toString
in class java.lang.Object