Interface ReactiveMapReduceOperation.MapReduceWithProjection<T>
- All Superinterfaces:
ReactiveMapReduceOperation.MapReduceWithQuery<T>
,ReactiveMapReduceOperation.TerminatingMapReduce<T>
- All Known Subinterfaces:
ReactiveMapReduceOperation.ReactiveMapReduce<T>
- Enclosing interface:
- ReactiveMapReduceOperation
public static interface ReactiveMapReduceOperation.MapReduceWithProjection<T>
extends ReactiveMapReduceOperation.MapReduceWithQuery<T>
Result type override (Optional).
- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.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
-
as
Define the target type fields should be mapped to.
Skip this step if you are anyway only interested in the original domain type.- Type Parameters:
R
- result type.- Parameters:
resultType
- must not be null.- Returns:
- new instance of
ReactiveMapReduceOperation.TerminatingMapReduce
. - Throws:
IllegalArgumentException
- if resultType is null.
-