T
-public interface ReactiveQueryByExampleExecutor<T>
Example
インスタンスの実行を許可するインターフェース。修飾子と型 | メソッドと説明 |
---|---|
<S extends T> | count(Example<S> example) 指定された Example に一致するインスタンスの数を返します。 |
<S extends T> | exists(Example<S> example) データストアに、指定された Example と一致する要素が含まれているかどうかを確認します。 |
<S extends T> | findAll(Example<S> example) 指定された Example に一致するすべてのエンティティを返します。 |
<S extends T> | findAll(Example<S> example, Sort sort) |
<S extends T,R,P extends org.reactivestreams.Publisher<R>> | findBy(Example<S> example, FunctionSE<FluentQuery.ReactiveFluentQuery<S>,P> queryFunction) クエリとその結果型を定義する queryFunction SE を適用して、指定された Example に一致するエンティティを返します。 |
<S extends T> | findOne(Example<S> example) 何も見つからなかった場合、指定された Example または Mono.empty() に一致する単一のエンティティを返します。 |
<S extends T> reactor.core.publisher.Mono<S> findOne(Example<S> example)
Example
または Mono.empty()
に一致する単一のエンティティを返します。example
- null であってはなりません。Example
または Mono.empty()
に一致する単一のエンティティが見つからなかった場合。IncorrectResultSizeDataAccessException
- 例で複数の結果が得られる場合は、Mono.error(Throwable)
経由。<S extends T> reactor.core.publisher.Flux<S> findAll(Example<S> example)
Example
に一致するすべてのエンティティを返します。一致が見つからなかった場合、Flux.empty()
が返されます。example
- null であってはなりません。Example
に一致するすべてのエンティティ。<S extends T> reactor.core.publisher.Mono<LongSE> count(Example<S> example)
Example
に一致するインスタンスの数を返します。<S extends T> reactor.core.publisher.Mono<BooleanSE> exists(Example<S> example)
Example
と一致する要素が含まれているかどうかを確認します。<S extends T,R,P extends org.reactivestreams.Publisher<R>> P findBy(Example<S> example, FunctionSE<FluentQuery.ReactiveFluentQuery<S>,P> queryFunction)
queryFunction
SE を適用して、指定された Example
に一致するエンティティを返します。example
- null であってはなりません。queryFunction
- 射影、並べ替え、結果型を定義するクエリ関数 Example
に一致するすべてのエンティティ。Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.