Interface ExecutableFindOperation.FindWithProjection<T>
- All Superinterfaces:
ExecutableFindOperation.FindDistinct, ExecutableFindOperation.FindWithQuery<T>, ExecutableFindOperation.TerminatingFind<T>, ExecutableFindOperation.TerminatingProjection, ExecutableFindOperation.TerminatingResults<T>
- All Known Subinterfaces:
ExecutableFindOperation.ExecutableFind<T>
- Enclosing interface:
ExecutableFindOperation
public static interface ExecutableFindOperation.FindWithProjection<T>
extends ExecutableFindOperation.FindWithQuery<T>, ExecutableFindOperation.FindDistinct
Result type override (Optional).
- Since:
- 2.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.Methods inherited from interface ExecutableFindOperation.FindDistinct
distinctMethods inherited from interface ExecutableFindOperation.FindWithQuery
matching, matching, nearMethods inherited from interface ExecutableFindOperation.TerminatingProjection
count, existsMethods inherited from interface ExecutableFindOperation.TerminatingResults
all, first, firstValue, map, one, oneValue, scroll, stream
-
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
ExecutableFindOperation.FindWithProjection. - Throws:
IllegalArgumentException- if resultType is null.
-