Package | Description |
---|---|
com.mongodb.client |
Modifier and Type | Method and Description |
---|---|
MapReduceIterable<TResult> |
MapReduceIterable.action(com.mongodb.client.model.MapReduceAction action)
Specify the
MapReduceAction to be used when writing to a collection. |
MapReduceIterable<TResult> |
MapReduceIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
MapReduceIterable<TResult> |
MapReduceIterable.bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
MapReduceIterable<TResult> |
MapReduceIterable.collation(com.mongodb.client.model.Collation collation)
Sets the collation options
|
MapReduceIterable<TResult> |
MapReduceIterable.collectionName(String collectionName)
Sets the collectionName for the output of the MapReduce
|
MapReduceIterable<TResult> |
MapReduceIterable.databaseName(String databaseName)
Sets the name of the database to output into.
|
MapReduceIterable<TResult> |
MapReduceIterable.filter(org.bson.conversions.Bson filter)
Sets the query filter to apply to the query.
|
MapReduceIterable<TResult> |
MapReduceIterable.finalizeFunction(String finalizeFunction)
Sets the JavaScript function that follows the reduce method and modifies the output.
|
MapReduceIterable<TResult> |
MapReduceIterable.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.
|
MapReduceIterable<TResult> |
MapReduceIterable.limit(int limit)
Sets the limit to apply.
|
MapReduceIterable<TDocument> |
MongoCollection.mapReduce(String mapFunction,
String reduceFunction)
Aggregates documents according to the specified map-reduce function.
|
<TResult> MapReduceIterable<TResult> |
MongoCollection.mapReduce(String mapFunction,
String reduceFunction,
Class<TResult> resultClass)
Aggregates documents according to the specified map-reduce function.
|
MapReduceIterable<TResult> |
MapReduceIterable.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
MapReduceIterable<TResult> |
MapReduceIterable.nonAtomic(boolean nonAtomic)
Sets if the post-processing step will prevent MongoDB from locking the database.
|
MapReduceIterable<TResult> |
MapReduceIterable.scope(org.bson.conversions.Bson scope)
Sets the global variables that are accessible in the map, reduce and finalize functions.
|
MapReduceIterable<TResult> |
MapReduceIterable.sharded(boolean sharded)
Sets if the output database is sharded
|
MapReduceIterable<TResult> |
MapReduceIterable.sort(org.bson.conversions.Bson sort)
Sets the sort criteria to apply to the query.
|
MapReduceIterable<TResult> |
MapReduceIterable.verbose(boolean verbose)
Sets whether to include the timing information in the result information.
|
Copyright © 2017. All rights reserved.