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 org.springframework.data.mongodb.core.ReactiveUpdateOperation.FindAndReplaceWithOptions
withOptions
Methods inherited from interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.ReplaceWithOptions
withOptions
Methods inherited from interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.TerminatingFindAndReplace
findAndReplace
Methods inherited from interface org.springframework.data.mongodb.core.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.
-