Interface ReactiveStreamsJpaSpecificationExecutor<T>

Type Parameters:
T - The entity type
All Known Subinterfaces:
ReactorJpaSpecificationExecutor<T>

@Deprecated(forRemoval=true, since="4.10") public interface ReactiveStreamsJpaSpecificationExecutor<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Interface to allow execution of Specifications based on the JPA criteria API. Reactive-streams version of JpaSpecificationExecutor.
Since:
3.5.0
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<Long>
    count(@Nullable Specification<T> spec)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Publishes the number of instances that the given Specification will return.
    org.reactivestreams.Publisher<T>
    findAll(@Nullable Specification<T> spec)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Publishes all entities matching the given Specification.
    org.reactivestreams.Publisher<Page<T>>
    findAll(@Nullable Specification<T> spec, Pageable pageable)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Publishes a Page of entities matching the given Specification.
    org.reactivestreams.Publisher<T>
    findAll(@Nullable Specification<T> spec, Sort sort)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Publishes all entities matching the given Specification and Sort.
    org.reactivestreams.Publisher<T>
    findOne(@Nullable Specification<T> spec)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Publishes a single entity matching the given Specification.
  • Method Details

    • findOne

      org.reactivestreams.Publisher<T> findOne(@Nullable @Nullable Specification<T> spec)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Publishes a single entity matching the given Specification.
      Parameters:
      spec - can be null.
      Returns:
      never null.
    • findAll

      org.reactivestreams.Publisher<T> findAll(@Nullable @Nullable Specification<T> spec)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Publishes all entities matching the given Specification.
      Parameters:
      spec - can be null.
      Returns:
      never null.
    • findAll

      org.reactivestreams.Publisher<Page<T>> findAll(@Nullable @Nullable Specification<T> spec, Pageable pageable)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Publishes a Page of entities matching the given Specification.
      Parameters:
      spec - can be null.
      pageable - must not be null.
      Returns:
      never null.
    • findAll

      org.reactivestreams.Publisher<T> findAll(@Nullable @Nullable Specification<T> spec, Sort sort)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Publishes all entities matching the given Specification and Sort.
      Parameters:
      spec - can be null.
      sort - must not be null.
      Returns:
      never null.
    • count

      org.reactivestreams.Publisher<Long> count(@Nullable @Nullable Specification<T> spec)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Publishes the number of instances that the given Specification will return.
      Parameters:
      spec - the Specification to count instances for. Can be null.
      Returns:
      the number of instances.