Interface ReactiveMapReduceOperation.MapReduceWithCollection<T>
- All Superinterfaces:
ReactiveMapReduceOperation.MapReduceWithQuery<T>
,ReactiveMapReduceOperation.TerminatingMapReduce<T>
- All Known Subinterfaces:
ReactiveMapReduceOperation.ReactiveMapReduce<T>
- Enclosing interface:
- ReactiveMapReduceOperation
public static interface ReactiveMapReduceOperation.MapReduceWithCollection<T>
extends ReactiveMapReduceOperation.MapReduceWithQuery<T>
Collection override (Optional).
- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptioninCollection
(String collection) Explicitly set the name of the collection to perform the mapReduce operation on.Methods inherited from interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithQuery
matching, matching
Methods inherited from interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.TerminatingMapReduce
all
-
Method Details
-
inCollection
Explicitly set the name of the collection to perform the mapReduce operation on.
Skip this step to use the default collection derived from the domain type.- Parameters:
collection
- must not be null nor empty.- Returns:
- new instance of
ReactiveMapReduceOperation.MapReduceWithProjection
. - Throws:
IllegalArgumentException
- if collection is null.
-