Interface ReactiveStreamsJpaSpecificationExecutor<T>
- Type Parameters:
- T- The entity type
- All Known Subinterfaces:
- ReactorJpaSpecificationExecutor<T>
public interface ReactiveStreamsJpaSpecificationExecutor<T>
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 SummaryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<Long>count(@Nullable Specification<T> spec) Publishes the number of instances that the givenSpecificationwill return.org.reactivestreams.Publisher<T>findAll(@Nullable Specification<T> spec) Publishes all entities matching the givenSpecification.findAll(@Nullable Specification<T> spec, Pageable pageable) Publishes aPageof entities matching the givenSpecification.org.reactivestreams.Publisher<T>findAll(@Nullable Specification<T> spec, Sort sort) Publishes all entities matching the givenSpecificationandSort.org.reactivestreams.Publisher<T>findOne(@Nullable Specification<T> spec) Publishes a single entity matching the givenSpecification.
- 
Method Details- 
findOnePublishes a single entity matching the givenSpecification.- Parameters:
- spec- can be null.
- Returns:
- never null.
 
- 
findAllPublishes all entities matching the givenSpecification.- Parameters:
- spec- can be null.
- Returns:
- never null.
 
- 
findAllorg.reactivestreams.Publisher<Page<T>> findAll(@Nullable @Nullable Specification<T> spec, Pageable pageable) Publishes aPageof entities matching the givenSpecification.- Parameters:
- spec- can be null.
- pageable- must not be null.
- Returns:
- never null.
 
- 
findAllPublishes all entities matching the givenSpecificationandSort.- Parameters:
- spec- can be null.
- sort- must not be null.
- Returns:
- never null.
 
- 
countPublishes the number of instances that the givenSpecificationwill return.- Parameters:
- spec- the- Specificationto count instances for. Can be null.
- Returns:
- the number of instances.
 
 
-