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 Details

    • one

      reactor.core.publisher.Mono<RemoveResult> one(Object id)
      Remove one document based on the given ID.
      Specified by:
      one in interface OneAndAllIdReactive<RemoveResult>
      Parameters:
      id - the document ID.
      Returns:
      result of the remove
    • oneEntity

      reactor.core.publisher.Mono<RemoveResult> oneEntity(Object entity)
      Remove one document. Requires whole entity for transaction to have the cas.
      Parameters:
      entity - the entity
      Returns:
      result of the remove
    • all

      reactor.core.publisher.Flux<RemoveResult> all(Collection<String> ids)
      Remove the documents in the collection.
      Specified by:
      all in interface OneAndAllIdReactive<RemoveResult>
      Parameters:
      ids - the document IDs.
      Returns:
      result of the removes.
    • allEntities

      reactor.core.publisher.Flux<RemoveResult> allEntities(Collection<Object> entities)
      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.