Interface ExecutableRemoveByIdOperation.TerminatingRemoveById
- All Superinterfaces:
OneAndAllId<RemoveResult>
- All Known Subinterfaces:
ExecutableRemoveByIdOperation.ExecutableRemoveById
,ExecutableRemoveByIdOperation.RemoveByIdInCollection
,ExecutableRemoveByIdOperation.RemoveByIdInScope
,ExecutableRemoveByIdOperation.RemoveByIdWithCas
,ExecutableRemoveByIdOperation.RemoveByIdWithDurability
,ExecutableRemoveByIdOperation.RemoveByIdWithOptions
- Enclosing interface:
- ExecutableRemoveByIdOperation
public static interface ExecutableRemoveByIdOperation.TerminatingRemoveById
extends OneAndAllId<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 documents based on the entities.Remove one document based on the given ID.Remove one document based on the entity.
-
Method Details
-
one
Remove one document based on the given ID.- Specified by:
one
in interfaceOneAndAllId<RemoveResult>
- Parameters:
id
- the document ID.- Returns:
- result of the remove
-
oneEntity
Remove one document based on the entity. Transactions need the entity for the cas.- Parameters:
entity
- the document ID.- Returns:
- result of the remove
-
all
Remove the documents in the collection.- Specified by:
all
in interfaceOneAndAllId<RemoveResult>
- Parameters:
ids
- the document IDs.- Returns:
- result of the removes.
-
allEntities
Remove documents based on the entities. Transactions need the entity for the cas.- Parameters:
entities
- to remove.- Returns:
- result of the remove
-