|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mongodb.AggregationOutput
public class AggregationOutput
Field Summary | |
---|---|
protected DBObject |
_cmd
|
protected CommandResult |
_commandResult
|
protected Iterable<DBObject> |
_resultSet
|
Constructor Summary | |
---|---|
AggregationOutput(DBObject cmd,
CommandResult raw)
|
Method Summary | |
---|---|
DBObject |
getCommand()
returns the original aggregation command |
CommandResult |
getCommandResult()
returns the command result of the aggregation |
ServerAddress |
getServerUsed()
returns the address of the server used to execute the aggregation |
Iterable<DBObject> |
results()
returns an iterator to the results of the aggregation |
String |
toString()
string representation of the aggregation command |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final CommandResult _commandResult
protected final DBObject _cmd
protected final Iterable<DBObject> _resultSet
Constructor Detail |
---|
public AggregationOutput(DBObject cmd, CommandResult raw)
Method Detail |
---|
public Iterable<DBObject> results()
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 |