Package | Description |
---|---|
com.mongodb |
Modifier and Type | Method and Description |
---|---|
MapReduceCommand.OutputType |
MapReduceCommand.getOutputType()
Gets the OutputType for this instance.
|
static MapReduceCommand.OutputType |
MapReduceCommand.OutputType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapReduceCommand.OutputType[] |
MapReduceCommand.OutputType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
MapReduceOutput |
DBCollection.mapReduce(String map,
String reduce,
String outputTarget,
MapReduceCommand.OutputType outputType,
DBObject query)
Allows you to run map-reduce aggregation operations over a collection and saves to a named collection.
|
MapReduceOutput |
DBCollection.mapReduce(String map,
String reduce,
String outputTarget,
MapReduceCommand.OutputType outputType,
DBObject query,
com.mongodb.ReadPreference readPreference)
Allows you to run map-reduce aggregation operations over a collection and saves to a named collection.
|
Constructor and Description |
---|
MapReduceCommand(DBCollection inputCollection,
String map,
String reduce,
String outputCollection,
MapReduceCommand.OutputType type,
DBObject query)
Represents the command for a map reduce operation Runs the command in REPLACE output type to a named collection
|
Copyright © 2017. All rights reserved.