| Package | Description |
|---|---|
| io.quarkus.mongodb | |
| io.quarkus.mongodb.impl | |
| io.quarkus.mongodb.reactive |
| Modifier and Type | Method and Description |
|---|---|
MapReduceOptions |
MapReduceOptions.action(com.mongodb.client.model.MapReduceAction action)
Specify the
MapReduceAction to be used when writing to a collection. |
MapReduceOptions |
MapReduceOptions.bypassDocumentValidation(boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
MapReduceOptions |
MapReduceOptions.collation(com.mongodb.client.model.Collation collation)
Sets the collation options
|
MapReduceOptions |
MapReduceOptions.collectionName(String collectionName)
Sets the collectionName for the output of the MapReduce
|
MapReduceOptions |
MapReduceOptions.databaseName(String databaseName)
Sets the name of the database to output into.
|
MapReduceOptions |
MapReduceOptions.filter(org.bson.conversions.Bson filter)
Sets the query filter to apply to the query.
|
MapReduceOptions |
MapReduceOptions.finalizeFunction(String finalizeFunction)
Sets the JavaScript function that follows the reduce method and modifies the output.
|
MapReduceOptions |
MapReduceOptions.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.
|
MapReduceOptions |
MapReduceOptions.limit(int limit)
Sets the limit to apply.
|
MapReduceOptions |
MapReduceOptions.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
MapReduceOptions |
MapReduceOptions.nonAtomic(boolean nonAtomic)
Sets if the post-processing step will prevent MongoDB from locking the database.
|
MapReduceOptions |
MapReduceOptions.scope(org.bson.conversions.Bson scope)
Sets the global variables that are accessible in the map, reduce and finalize functions.
|
MapReduceOptions |
MapReduceOptions.sharded(boolean sharded)
Sets if the output database is sharded
|
MapReduceOptions |
MapReduceOptions.sort(org.bson.conversions.Bson sort)
Sets the sort criteria to apply to the query.
|
MapReduceOptions |
MapReduceOptions.verbose(boolean verbose)
Sets whether to include the timing information in the result information.
|
| Modifier and Type | Method and Description |
|---|---|
<D> io.smallrye.mutiny.Multi<D> |
ReactiveMongoCollectionImpl.mapReduce(com.mongodb.reactivestreams.client.ClientSession clientSession,
String mapFunction,
String reduceFunction,
Class<D> clazz,
MapReduceOptions options) |
io.smallrye.mutiny.Multi<T> |
ReactiveMongoCollectionImpl.mapReduce(com.mongodb.reactivestreams.client.ClientSession clientSession,
String mapFunction,
String reduceFunction,
MapReduceOptions options) |
<D> io.smallrye.mutiny.Multi<D> |
ReactiveMongoCollectionImpl.mapReduce(String mapFunction,
String reduceFunction,
Class<D> clazz,
MapReduceOptions options) |
io.smallrye.mutiny.Multi<T> |
ReactiveMongoCollectionImpl.mapReduce(String mapFunction,
String reduceFunction,
MapReduceOptions options) |
| Modifier and Type | Method and Description |
|---|---|
<D> io.smallrye.mutiny.Multi<D> |
ReactiveMongoCollection.mapReduce(com.mongodb.reactivestreams.client.ClientSession clientSession,
String mapFunction,
String reduceFunction,
Class<D> clazz,
MapReduceOptions options)
Aggregates documents according to the specified map-reduce function.
|
io.smallrye.mutiny.Multi<T> |
ReactiveMongoCollection.mapReduce(com.mongodb.reactivestreams.client.ClientSession clientSession,
String mapFunction,
String reduceFunction,
MapReduceOptions options)
Aggregates documents according to the specified map-reduce function.
|
<D> io.smallrye.mutiny.Multi<D> |
ReactiveMongoCollection.mapReduce(String mapFunction,
String reduceFunction,
Class<D> clazz,
MapReduceOptions options)
Aggregates documents according to the specified map-reduce function.
|
io.smallrye.mutiny.Multi<T> |
ReactiveMongoCollection.mapReduce(String mapFunction,
String reduceFunction,
MapReduceOptions options)
Aggregates documents according to the specified map-reduce function.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.