Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
Modifier and Type | Method and Description |
---|---|
MapReduceOutput |
DBCollection.mapReduce(DBObject command)
performs a map reduce operation
|
MapReduceOutput |
DBCollection.mapReduce(MapReduceCommand command)
performs a map reduce operation
|
MapReduceOutput |
DBCollection.mapReduce(String map,
String reduce,
String outputTarget,
DBObject query)
performs a map reduce operation
Runs the command in REPLACE output mode (saves to named collection)
|
MapReduceOutput |
DBCollection.mapReduce(String map,
String reduce,
String outputTarget,
MapReduceCommand.OutputType outputType,
DBObject query)
performs a map reduce operation
Specify an outputType to control job execution
* INLINE - Return results inline
* REPLACE - Replace the output collection with the job output
* MERGE - Merge the job output with the existing contents of outputTarget
* REDUCE - Reduce the job output with the existing contents of
outputTarget
|
MapReduceOutput |
DBCollection.mapReduce(String map,
String reduce,
String outputTarget,
MapReduceCommand.OutputType outputType,
DBObject query,
ReadPreference readPrefs)
performs a map reduce operation
Specify an outputType to control job execution
* INLINE - Return results inline
* REPLACE - Replace the output collection with the job output
* MERGE - Merge the job output with the existing contents of outputTarget
* REDUCE - Reduce the job output with the existing contents of
outputTarget
|