Interface ReactiveFindOperation.FindWithProjection<T>
- All Superinterfaces:
ReactiveFindOperation.FindDistinct, ReactiveFindOperation.FindWithQuery<T>, ReactiveFindOperation.TerminatingFind<T>, ReactiveFindOperation.TerminatingProjection, ReactiveFindOperation.TerminatingResults<T>
- All Known Subinterfaces:
ReactiveFindOperation.ReactiveFind<T>
- Enclosing interface:
ReactiveFindOperation
public static interface ReactiveFindOperation.FindWithProjection<T>
extends ReactiveFindOperation.FindWithQuery<T>, ReactiveFindOperation.FindDistinct
Result type override (optional).
- Since:
- 2.0
- Author:
- Mark Paluch, Christoph Strobl, Juergen Zimmermann
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.Methods inherited from interface ReactiveFindOperation.FindDistinct
distinctMethods inherited from interface ReactiveFindOperation.FindWithQuery
matching, matching, nearMethods inherited from interface ReactiveFindOperation.TerminatingProjection
count, exists
-
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
ReactiveFindOperation.FindWithProjection. - Throws:
IllegalArgumentException- if resultType is null.
-