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 Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Map<String,Boolean>>
    Performs the operation on the collection of ids.
    reactor.core.publisher.Mono<Boolean>
    one(String id)
    Performs the operation on the ID given.
  • Method Details

    • one

      reactor.core.publisher.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

      reactor.core.publisher.Mono<Map<String,Boolean>> all(Collection<String> ids)
      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.