Interface ReactiveRemoveByIdOperation.TerminatingRemoveById
- All Superinterfaces:
OneAndAllIdReactive<RemoveResult>
- All Known Subinterfaces:
ReactiveRemoveByIdOperation.ReactiveRemoveById
,ReactiveRemoveByIdOperation.RemoveByIdInCollection
,ReactiveRemoveByIdOperation.RemoveByIdInScope
,ReactiveRemoveByIdOperation.RemoveByIdWithCas
,ReactiveRemoveByIdOperation.RemoveByIdWithDurability
,ReactiveRemoveByIdOperation.RemoveByIdWithOptions
- Enclosing interface:
- ReactiveRemoveByIdOperation
public static interface ReactiveRemoveByIdOperation.TerminatingRemoveById
extends OneAndAllIdReactive<RemoveResult>
Terminating operations invoking the actual execution.
-
Method Summary
Modifier and TypeMethodDescriptionall
(Collection<String> ids) Remove the documents in the collection.allEntities
(Collection<Object> entities) Remove the documents in the collection.Remove one document based on the given ID.Remove one document.
-
Method Details
-
one
Remove one document based on the given ID.- Specified by:
one
in interfaceOneAndAllIdReactive<RemoveResult>
- Parameters:
id
- the document ID.- Returns:
- result of the remove
-
oneEntity
Remove one document. Requires whole entity for transaction to have the cas.- Parameters:
entity
- the entity- Returns:
- result of the remove
-
all
Remove the documents in the collection.- Specified by:
all
in interfaceOneAndAllIdReactive<RemoveResult>
- Parameters:
ids
- the document IDs.- Returns:
- result of the removes.
-
allEntities
Remove the documents in the collection. Requires whole entity for transaction to have the cas.- Parameters:
entities
- the entities to remove.- Returns:
- result of the removes.
-