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