public class MapReduceOutput extends Object
Modifier and Type | Method | Description |
---|---|---|
void |
dropโ() |
Drops the collection that holds the results.
|
String |
getCollectionNameโ() |
Get the name of the collection that the results of the map reduce were saved into.
|
DBObject |
getCommandโ() |
Get the original command that was sent to the database.
|
String |
getDatabaseNameโ() |
Get the name of the database that the results of the map reduce were saved into.
|
int |
getDurationโ() |
Get the amount of time, in milliseconds, that it took to run this map reduce.
|
int |
getEmitCountโ() |
Get the number of messages emitted from the provided map function.
|
int |
getInputCountโ() |
Get the number of documents that were input into the map reduce operation
|
DBCollection |
getOutputCollectionโ() |
Gets the collection that holds the results (Will return null if results are Inline).
|
int |
getOutputCountโ() |
Get the number of documents generated as a result of this map reduce
|
Iterable<DBObject> |
resultsโ() |
Returns an iterable containing the results of the operation.
|
String |
toStringโ() |
public Iterable<DBObject> resultsโ()
public void dropโ()
public DBCollection getOutputCollectionโ()
public DBObject getCommandโ()
@Nullable public final String getCollectionNameโ()
public String getDatabaseNameโ()
public int getDurationโ()
public int getInputCountโ()
public int getOutputCountโ()
public int getEmitCountโ()