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 Details

    • one

      Remove one document based on the given ID.
      Specified by:
      one in interface OneAndAllId<RemoveResult>
      Parameters:
      id - the document ID.
      Returns:
      result of the remove
    • oneEntity

      RemoveResult oneEntity(Object entity)
      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 interface OneAndAllId<RemoveResult>
      Parameters:
      ids - the document IDs.
      Returns:
      result of the removes.
    • allEntities

      List<RemoveResult> allEntities(Collection<Object> entities)
      Remove documents based on the entities. Transactions need the entity for the cas.
      Parameters:
      entities - to remove.
      Returns:
      result of the remove