public class AggregationOutput
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DBObject |
_cmd
Deprecated.
Please use
getCommand() instead. |
protected CommandResult |
_commandResult
Deprecated.
Please use
getCommandResult() instead. |
protected java.lang.Iterable<DBObject> |
_resultSet
Deprecated.
Please use
results() instead. |
| Constructor and Description |
|---|
AggregationOutput(DBObject command,
CommandResult commandResult)
Deprecated.
there is no replacement for this constructor
|
| Modifier and Type | Method and Description |
|---|---|
DBObject |
getCommand()
Deprecated.
there is no replacement for this method
|
CommandResult |
getCommandResult()
Deprecated.
there is no replacement for this method
|
ServerAddress |
getServerUsed()
Deprecated.
there is no replacement for this method
|
java.lang.Iterable<DBObject> |
results()
Returns an iterator to the results of the aggregation
|
@Deprecated protected final CommandResult _commandResult
getCommandResult() instead.@Deprecated protected final DBObject _cmd
getCommand() instead.@Deprecated public AggregationOutput(DBObject command, CommandResult commandResult)
command - the aggregation commandcommandResult - the aggregation command resultpublic java.lang.Iterable<DBObject> results()
@Deprecated public CommandResult getCommandResult()
@Deprecated public DBObject getCommand()
@Deprecated public ServerAddress getServerUsed()