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