Interface ReactorJpaSpecificationExecutor<T>
- Type Parameters:
T
- The entity type
- All Superinterfaces:
ReactiveStreamsJpaSpecificationExecutor<T>
@Deprecated(forRemoval=true,
since="4.10")
public interface ReactorJpaSpecificationExecutor<T>
extends ReactiveStreamsJpaSpecificationExecutor<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Interface to allow execution of
Specification
s based on the JPA criteria API.
Reactor version of ReactiveStreamsJpaSpecificationExecutor
.- Since:
- 3.5.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<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 givenSpecification
will return.reactor.core.publisher.Flux<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 givenSpecification
.findAll
(@Nullable Specification<T> spec, Pageable pageable) Deprecated, for removal: This API element is subject to removal in a future version.Publishes aPage
of entities matching the givenSpecification
.reactor.core.publisher.Flux<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 givenSpecification
andSort
.reactor.core.publisher.Mono<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 givenSpecification
.
-
Method Details
-
findOne
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ReactiveStreamsJpaSpecificationExecutor
Publishes a single entity matching the givenSpecification
.- Specified by:
findOne
in interfaceReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
spec
- can be null.- Returns:
- never null.
-
findAll
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ReactiveStreamsJpaSpecificationExecutor
Publishes all entities matching the givenSpecification
.- Specified by:
findAll
in interfaceReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
spec
- can be null.- Returns:
- never null.
-
findAll
reactor.core.publisher.Mono<Page<T>> findAll(@Nullable @Nullable Specification<T> spec, Pageable pageable) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ReactiveStreamsJpaSpecificationExecutor
Publishes aPage
of entities matching the givenSpecification
.- Specified by:
findAll
in interfaceReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
spec
- can be null.pageable
- must not be null.- Returns:
- never null.
-
findAll
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ReactiveStreamsJpaSpecificationExecutor
Publishes all entities matching the givenSpecification
andSort
.- Specified by:
findAll
in interfaceReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
spec
- can be null.sort
- must not be null.- Returns:
- never null.
-
count
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ReactiveStreamsJpaSpecificationExecutor
Publishes the number of instances that the givenSpecification
will return.- Specified by:
count
in interfaceReactiveStreamsJpaSpecificationExecutor<T>
- Parameters:
spec
- theSpecification
to count instances for. Can be null.- Returns:
- the number of instances.
-
ReactiveStreamsJpaSpecificationExecutor