|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mongodb.MapReduceOutput
public class MapReduceOutput
Represents the result of a map/reduce operation
| Constructor Summary | |
|---|---|
MapReduceOutput(DBCollection from,
DBObject cmd,
CommandResult raw)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapReduceOutput(DBCollection from,
DBObject cmd,
CommandResult raw)
| Method Detail |
|---|
public Iterable<DBObject> results()
public void drop()
MongoExceptionpublic DBCollection getOutputCollection()
@Deprecated public BasicDBObject getRaw()
public CommandResult getCommandResult()
public DBObject getCommand()
public ServerAddress getServerUsed()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||