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.Remove one document based on the given ID.
-
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
-
all
Remove the documents in the collection.- Specified by:
all
in interfaceOneAndAllId<RemoveResult>
- Parameters:
ids
- the document IDs.- Returns:
- result of the removes.
-