Interface ReactiveFindByIdOperation.TerminatingFindById<T>

Type Parameters:
T - the entity type to use for the results.
All Superinterfaces:
OneAndAllIdReactive<T>
All Known Subinterfaces:
ReactiveFindByIdOperation.FindByIdInCollection<T>, ReactiveFindByIdOperation.FindByIdInScope<T>, ReactiveFindByIdOperation.FindByIdWithExpiry<T>, ReactiveFindByIdOperation.FindByIdWithOptions<T>, ReactiveFindByIdOperation.FindByIdWithProjection<T>, ReactiveFindByIdOperation.ReactiveFindById<T>
Enclosing interface:
ReactiveFindByIdOperation

public static interface ReactiveFindByIdOperation.TerminatingFindById<T> extends OneAndAllIdReactive<T>
Terminating operations invoking the actual execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Flux<? extends T>
    Finds a list of documents based on the given IDs.
    reactor.core.publisher.Mono<T>
    one(Object id)
    Finds one document based on the given ID.
  • Method Details

    • one

      reactor.core.publisher.Mono<T> one(Object id)
      Finds one document based on the given ID.
      Specified by:
      one in interface OneAndAllIdReactive<T>
      Parameters:
      id - the document ID.
      Returns:
      the entity if found.
    • all

      reactor.core.publisher.Flux<? extends T> all(Collection<String> ids)
      Finds a list of documents based on the given IDs.
      Specified by:
      all in interface OneAndAllIdReactive<T>
      Parameters:
      ids - the document ID ids.
      Returns:
      the list of found entities.