public class AggregationOutput extends Object
Modifier and Type | Field and Description |
---|---|
protected DBObject |
_cmd
Deprecated.
Please use
getCommand() instead. |
protected CommandResult |
_commandResult
Deprecated.
Please use
getCommandResult() instead. |
protected 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
|
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 protected final Iterable<DBObject> _resultSet
results()
instead.@Deprecated public AggregationOutput(DBObject command, CommandResult commandResult)
command
- the aggregation commandcommandResult
- the aggregation command resultpublic Iterable<DBObject> results()
@Deprecated public CommandResult getCommandResult()
@Deprecated public DBObject getCommand()
@Deprecated public ServerAddress getServerUsed()