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 TypeMethodDescriptionreactor.core.publisher.Flux<RemoveResult>all(Collection<String> ids) Remove the documents in the collection.reactor.core.publisher.Flux<RemoveResult>allEntities(Collection<Object> entities) Remove the documents in the collection.reactor.core.publisher.Mono<RemoveResult>Remove one document based on the given ID.reactor.core.publisher.Mono<RemoveResult>Remove one document.
-
Method Details
-
one
Remove one document based on the given ID.- Specified by:
onein 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:
allin 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.
-