Interface ReactiveRemoveOperation.RemoveWithQuery<T>
- All Superinterfaces:
ReactiveRemoveOperation.TerminatingRemove<T>
- All Known Subinterfaces:
ReactiveRemoveOperation.ReactiveRemove<T>
,ReactiveRemoveOperation.RemoveWithCollection<T>
- Enclosing interface:
- ReactiveRemoveOperation
public static interface ReactiveRemoveOperation.RemoveWithQuery<T>
extends ReactiveRemoveOperation.TerminatingRemove<T>
Provide a
Query
override (optional).-
Method Summary
Modifier and TypeMethodDescriptionmatching
(CriteriaDefinition criteria) Set the filtercriteria
to be used.Define the query filtering elements.Methods inherited from interface org.springframework.data.mongodb.core.ReactiveRemoveOperation.TerminatingRemove
all, findAndRemove
-
Method Details
-
matching
Define the query filtering elements.- Parameters:
query
- must not be null.- Returns:
- new instance of
ReactiveRemoveOperation.TerminatingRemove
. Never null. - Throws:
IllegalArgumentException
- if query is null.
-
matching
Set the filtercriteria
to be used.- Parameters:
criteria
- must not be null.- Returns:
- new instance of
ReactiveRemoveOperation.TerminatingRemove
. - Throws:
IllegalArgumentException
- if query is null.- Since:
- 3.0
-