Interface ReactiveSelectOperation.TerminatingProjections

All Known Subinterfaces:
ReactiveSelectOperation.ReactiveSelect<T>, ReactiveSelectOperation.SelectWithProjection<T>, ReactiveSelectOperation.SelectWithQuery<T>, ReactiveSelectOperation.SelectWithTable<T>, ReactiveSelectOperation.TerminatingSelect<T>
Enclosing interface:
ReactiveSelectOperation

public static interface ReactiveSelectOperation.TerminatingProjections
Trigger SELECT query execution by calling one of the terminating methods returning result projections for count and exists projections.
Since:
2.1
Author:
Mark Paluch, John Blum
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the number of matching elements.
    Check for the presence of matching elements.
  • Method Details

    • count

      Mono<Long> count()
      Get the number of matching elements.
      Returns:
      a Mono emitting the total number of matching elements; never null.
      See Also:
    • exists

      Mono<Boolean> exists()
      Check for the presence of matching elements.
      Returns:
      a Mono emitting true if at least one matching element exists; never null.
      See Also: