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