Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.action(String action)
Sets the output action one of: "replace", "merge", "reduce"
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.databaseName(String databaseName)
Sets the name of the database to output into.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.filter(BsonDocument filter)
Sets the filter to apply to the query.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.finalizeFunction(BsonJavaScript finalizeFunction)
Sets the JavaScript function that follows the reduce method and modifies the output.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.jsMode(boolean jsMode)
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce
functions.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.limit(int limit)
Sets the limit to apply.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.nonAtomic(boolean nonAtomic)
Sets if the post-processing step will prevent MongoDB from locking the database.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.scope(BsonDocument scope)
Sets the global variables that are accessible in the map, reduce and finalize functions.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.sharded(boolean sharded)
Sets if the output database is sharded
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.sort(BsonDocument sort)
Sets the sort criteria to apply to the query.
|
MapReduceToCollectionOperation |
MapReduceToCollectionOperation.verbose(boolean verbose)
Sets whether to include the timing information in the result information.
|
Copyright © 2016. All Rights Reserved.