T - The entity typepublic interface ReactiveStreamsJpaSpecificationExecutor<T>
JpaSpecificationExecutor.| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<java.lang.Long> |
count(PredicateSpecification<T> spec)
Returns the number of instances that the given
QuerySpecification will return. |
org.reactivestreams.Publisher<java.lang.Long> |
count(QuerySpecification<T> spec)
Returns the number of instances that the given
QuerySpecification will return. |
org.reactivestreams.Publisher<java.lang.Long> |
deleteAll(DeleteSpecification<T> spec)
Deletes all entities matching the given
DeleteSpecification. |
org.reactivestreams.Publisher<java.lang.Long> |
deleteAll(PredicateSpecification<T> spec)
Deletes all entities matching the given
PredicateSpecification. |
org.reactivestreams.Publisher<T> |
findAll(PredicateSpecification<T> spec)
Returns all entities matching the given
PredicateSpecification. |
org.reactivestreams.Publisher<T> |
findAll(PredicateSpecification<T> spec,
Sort sort)
Returns all entities matching the given
QuerySpecification and Sort. |
org.reactivestreams.Publisher<T> |
findAll(QuerySpecification<T> spec)
Returns all entities matching the given
QuerySpecification. |
org.reactivestreams.Publisher<T> |
findAll(QuerySpecification<T> spec,
Sort sort)
Returns all entities matching the given
QuerySpecification and Sort. |
org.reactivestreams.Publisher<T> |
findOne(PredicateSpecification<T> spec)
Returns a single entity matching the given
PredicateSpecification. |
org.reactivestreams.Publisher<T> |
findOne(QuerySpecification<T> spec)
Returns a single entity matching the given
QuerySpecification. |
org.reactivestreams.Publisher<java.lang.Long> |
updateAll(UpdateSpecification<T> spec)
Updates all entities matching the given
UpdateSpecification. |
@NonNull org.reactivestreams.Publisher<T> findOne(@Nullable QuerySpecification<T> spec)
QuerySpecification.spec - The query specification@NonNull org.reactivestreams.Publisher<T> findOne(@Nullable PredicateSpecification<T> spec)
PredicateSpecification.spec - The query specification@NonNull org.reactivestreams.Publisher<T> findAll(@Nullable QuerySpecification<T> spec)
QuerySpecification.spec - The query specification@NonNull org.reactivestreams.Publisher<T> findAll(@Nullable PredicateSpecification<T> spec)
PredicateSpecification.spec - The query specification@NonNull org.reactivestreams.Publisher<T> findAll(@Nullable QuerySpecification<T> spec, Sort sort)
QuerySpecification and Sort.spec - The query specificationsort - The sort object@NonNull org.reactivestreams.Publisher<T> findAll(@Nullable PredicateSpecification<T> spec, Sort sort)
QuerySpecification and Sort.spec - The query specificationsort - The sort object@NonNull
org.reactivestreams.Publisher<java.lang.Long> count(@Nullable
QuerySpecification<T> spec)
QuerySpecification will return.spec - The query specification@NonNull
org.reactivestreams.Publisher<java.lang.Long> count(@Nullable
PredicateSpecification<T> spec)
QuerySpecification will return.spec - The query specification@NonNull
org.reactivestreams.Publisher<java.lang.Long> deleteAll(@Nullable
DeleteSpecification<T> spec)
DeleteSpecification.spec - The delete specification@NonNull
org.reactivestreams.Publisher<java.lang.Long> deleteAll(@Nullable
PredicateSpecification<T> spec)
PredicateSpecification.spec - The delete specification@NonNull
org.reactivestreams.Publisher<java.lang.Long> updateAll(@Nullable
UpdateSpecification<T> spec)
UpdateSpecification.spec - The update specification