Interface ExecutableMapReduceOperation.MapReduceWithCollection<T>
- All Superinterfaces:
ExecutableMapReduceOperation.MapReduceWithQuery<T>
,ExecutableMapReduceOperation.TerminatingMapReduce<T>
- All Known Subinterfaces:
ExecutableMapReduceOperation.ExecutableMapReduce<T>
- Enclosing interface:
- ExecutableMapReduceOperation
public static interface ExecutableMapReduceOperation.MapReduceWithCollection<T>
extends ExecutableMapReduceOperation.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.ExecutableMapReduceOperation.MapReduceWithQuery
matching, matching
Methods inherited from interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.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
ExecutableMapReduceOperation.MapReduceWithProjection
. - Throws:
IllegalArgumentException
- if collection is null.
-