Interface ExecutableUpdateOperation.FindAndReplaceWithProjection<T>
- All Superinterfaces:
ExecutableUpdateOperation.FindAndReplaceWithOptions<T>, ExecutableUpdateOperation.ReplaceWithOptions, ExecutableUpdateOperation.TerminatingFindAndReplace<T>, ExecutableUpdateOperation.TerminatingReplace
- Enclosing interface:
ExecutableUpdateOperation
public static interface ExecutableUpdateOperation.FindAndReplaceWithProjection<T>
extends ExecutableUpdateOperation.FindAndReplaceWithOptions<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 ExecutableUpdateOperation.FindAndReplaceWithOptions
withOptionsMethods inherited from interface ExecutableUpdateOperation.ReplaceWithOptions
withOptionsMethods inherited from interface ExecutableUpdateOperation.TerminatingFindAndReplace
findAndReplace, findAndReplaceValue, mapMethods inherited from interface ExecutableUpdateOperation.TerminatingReplace
replaceFirst
-
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
ExecutableUpdateOperation.FindAndReplaceWithProjection. - Throws:
IllegalArgumentException- if resultType is null.
-