Interface ReactorJpaSpecificationExecutor<T>
- Type Parameters:
- T- The entity type
- All Superinterfaces:
- ReactiveStreamsJpaSpecificationExecutor<T>
public interface ReactorJpaSpecificationExecutor<T>
extends ReactiveStreamsJpaSpecificationExecutor<T>
Interface to allow execution of 
Specifications based on the JPA criteria API.
 Reactor version of ReactiveStreamsJpaSpecificationExecutor.- Since:
- 3.5.0
- Author:
- Denis Stepanov
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Long>count(@Nullable Specification<T> spec) Publishes the number of instances that the givenSpecificationwill return.reactor.core.publisher.Flux<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.reactor.core.publisher.Flux<T>findAll(@Nullable Specification<T> spec, Sort sort) Publishes all entities matching the givenSpecificationandSort.reactor.core.publisher.Mono<T>findOne(@Nullable Specification<T> spec) Publishes a single entity matching the givenSpecification.
- 
Method Details- 
findOneDescription copied from interface:ReactiveStreamsJpaSpecificationExecutorPublishes a single entity matching the givenSpecification.- Specified by:
- findOnein interface- ReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
- spec- can be null.
- Returns:
- never null.
 
- 
findAllDescription copied from interface:ReactiveStreamsJpaSpecificationExecutorPublishes all entities matching the givenSpecification.- Specified by:
- findAllin interface- ReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
- spec- can be null.
- Returns:
- never null.
 
- 
findAllreactor.core.publisher.Mono<Page<T>> findAll(@Nullable @Nullable Specification<T> spec, Pageable pageable) Description copied from interface:ReactiveStreamsJpaSpecificationExecutorPublishes aPageof entities matching the givenSpecification.- Specified by:
- findAllin interface- ReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
- spec- can be null.
- pageable- must not be null.
- Returns:
- never null.
 
- 
findAllDescription copied from interface:ReactiveStreamsJpaSpecificationExecutorPublishes all entities matching the givenSpecificationandSort.- Specified by:
- findAllin interface- ReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
- spec- can be null.
- sort- must not be null.
- Returns:
- never null.
 
- 
countDescription copied from interface:ReactiveStreamsJpaSpecificationExecutorPublishes the number of instances that the givenSpecificationwill return.- Specified by:
- countin interface- ReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
- spec- the- Specificationto count instances for. Can be null.
- Returns:
- the number of instances.
 
 
-