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