Interface ReactiveStreamsJpaSpecificationExecutor<T>

    • Method Detail

      • findOne

        org.reactivestreams.Publisher<T> findOne​(@Nullable
                                                 Specification<T> spec)
        Publishes a single entity matching the given Specification.
        Parameters:
        spec - can be null.
        Returns:
        never null.
      • findAll

        org.reactivestreams.Publisher<T> findAll​(@Nullable
                                                 Specification<T> spec)
        Publishes all entities matching the given Specification.
        Parameters:
        spec - can be null.
        Returns:
        never null.
      • findAll

        org.reactivestreams.Publisher<Page<T>> findAll​(@Nullable
                                                       Specification<T> spec,
                                                       Pageable pageable)
        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
                                                 Specification<T> spec,
                                                 Sort sort)
        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<java.lang.Long> count​(@Nullable
                                                            Specification<T> spec)
        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.