Interface ReactiveExistsByIdOperation.TerminatingExistsById

All Superinterfaces:
OneAndAllExistsReactive
All Known Subinterfaces:
ReactiveExistsByIdOperation.ExistsByIdInCollection, ReactiveExistsByIdOperation.ExistsByIdInScope, ReactiveExistsByIdOperation.ExistsByIdWithOptions, ReactiveExistsByIdOperation.ReactiveExistsById
Enclosing interface:
ReactiveExistsByIdOperation

public static interface ReactiveExistsByIdOperation.TerminatingExistsById extends OneAndAllExistsReactive
Terminating operations invoking the actual execution.
  • Method Details

    • one

      Mono<Boolean> one(String id)
      Performs the operation on the ID given.
      Specified by:
      one in interface OneAndAllExistsReactive
      Parameters:
      id - the ID to perform the operation on.
      Returns:
      true if the document exists, false otherwise.
    • all

      Performs the operation on the collection of ids.
      Specified by:
      all in interface OneAndAllExistsReactive
      Parameters:
      ids - the ids to check.
      Returns:
      a map consisting of the document IDs as the keys and if they exist as the value.