Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.filter(BsonDocument filter)
Sets the filter to apply to the query.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.finalizeFunction(BsonJavaScript finalizeFunction)
Sets the JavaScript function that follows the reduce method and modifies the output.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.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.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.limit(int limit)
Sets the limit to apply.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.scope(BsonDocument scope)
Sets the global variables that are accessible in the map, reduce and finalize functions.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.sort(BsonDocument sort)
Sets the sort criteria to apply to the query.
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.verbose(boolean verbose)
Sets whether to include the timing information in the result information.
|
Copyright © 2016. All Rights Reserved.