Interface ReactiveFindByAnalyticsOperation.TerminatingFindByAnalytics<T>

All Superinterfaces:
OneAndAllReactive
All Known Subinterfaces:
ReactiveFindByAnalyticsOperation.FindByAnalyticsConsistentWith<T>, ReactiveFindByAnalyticsOperation.FindByAnalyticsInCollection<T>, ReactiveFindByAnalyticsOperation.FindByAnalyticsInScope<T>, ReactiveFindByAnalyticsOperation.FindByAnalyticsWithConsistency<T>, ReactiveFindByAnalyticsOperation.FindByAnalyticsWithOptions<T>, ReactiveFindByAnalyticsOperation.FindByAnalyticsWithProjection<T>, ReactiveFindByAnalyticsOperation.FindByAnalyticsWithQuery<T>, ReactiveFindByAnalyticsOperation.ReactiveFindByAnalytics<T>
Enclosing interface:
ReactiveFindByAnalyticsOperation

public static interface ReactiveFindByAnalyticsOperation.TerminatingFindByAnalytics<T> extends OneAndAllReactive
Terminating operations invoking the actual execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Flux<T>
    all()
    Get all matching elements.
    reactor.core.publisher.Mono<Long>
    Get the number of matching elements.
    reactor.core.publisher.Mono<Boolean>
    Check for the presence of matching elements.
    reactor.core.publisher.Mono<T>
    Get the first or no result.
    reactor.core.publisher.Mono<T>
    one()
    Get exactly zero or one result.
  • Method Details

    • one

      reactor.core.publisher.Mono<T> one()
      Get exactly zero or one result.
      Specified by:
      one in interface OneAndAllReactive<T>
      Returns:
      a mono with the match if found (an empty one otherwise).
      Throws:
      IncorrectResultSizeDataAccessException - if more than one match found.
    • first

      reactor.core.publisher.Mono<T> first()
      Get the first or no result.
      Specified by:
      first in interface OneAndAllReactive<T>
      Returns:
      the first or an empty mono if none found.
    • all

      reactor.core.publisher.Flux<T> all()
      Get all matching elements.
      Specified by:
      all in interface OneAndAllReactive<T>
      Returns:
      never null.
    • count

      reactor.core.publisher.Mono<Long> count()
      Get the number of matching elements.
      Specified by:
      count in interface OneAndAllReactive<T>
      Returns:
      total number of matching elements.
    • exists

      reactor.core.publisher.Mono<Boolean> exists()
      Check for the presence of matching elements.
      Specified by:
      exists in interface OneAndAllReactive<T>
      Returns:
      true if at least one matching element exists.