Interface ReactiveRemoveOperation.RemoveWithCollection<T>
- All Superinterfaces:
ReactiveRemoveOperation.RemoveWithQuery<T>, ReactiveRemoveOperation.TerminatingRemove<T>, ReactiveRemoveOperation.TerminatingResults<T>
- All Known Subinterfaces:
ReactiveRemoveOperation.ReactiveRemove<T>
- Enclosing interface:
ReactiveRemoveOperation
public static interface ReactiveRemoveOperation.RemoveWithCollection<T>
extends ReactiveRemoveOperation.RemoveWithQuery<T>
Collection override (optional).
- Since:
- 2.0
- Author:
- Mark Paluch, Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptioninCollection(String collection) Explicitly set the name of the collection to perform the query on.Methods inherited from interface ReactiveRemoveOperation.RemoveWithQuery
matching, matchingMethods inherited from interface ReactiveRemoveOperation.TerminatingRemove
allMethods inherited from interface ReactiveRemoveOperation.TerminatingResults
findAndRemove, map
-
Method Details
-
inCollection
Explicitly set the name of the collection to perform the query on.
Skip this step to use the default collection derived from the domain type.- Parameters:
collection- must not be null nor empty.- Returns:
- new instance of
ReactiveRemoveOperation.RemoveWithCollection. Never null. - Throws:
IllegalArgumentException- if collection is null or empty.
-