| パッケージ | 説明 |
|---|---|
| org.springframework.data.domain | 特に Repository 抽象化と組み合わせて使用される主要ドメイン抽象化。 |
| org.springframework.data.repository.query | クエリメソッドで動作するクラスをサポートします。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
static <T> Example<T> | Example.of(T probe) デフォルトですべての null 以外のプロパティを含む新しい Example を作成します。 |
static <T> Example<T> | Example.of(T probe, ExampleMatcher matcher) 指定された ExampleMatcher を使用して新しい Example を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
<S extends T> | QueryByExampleExecutor.count(Example<S> example) 指定された Example に一致するインスタンスの数を返します。 |
<S extends T> | ReactiveQueryByExampleExecutor.count(Example<S> example) 指定された Example に一致するインスタンスの数を返します。 |
<S extends T> | QueryByExampleExecutor.exists(Example<S> example) データストアに、指定された Example と一致する要素が含まれているかどうかを確認します。 |
<S extends T> | ReactiveQueryByExampleExecutor.exists(Example<S> example) データストアに、指定された Example と一致する要素が含まれているかどうかを確認します。 |
<S extends T> | QueryByExampleExecutor.findAll(Example<S> example) 指定された Example に一致するすべてのエンティティを返します。 |
<S extends T> | ReactiveQueryByExampleExecutor.findAll(Example<S> example) 指定された Example に一致するすべてのエンティティを返します。 |
<S extends T> | QueryByExampleExecutor.findAll(Example<S> example, Pageable pageable) |
<S extends T> | QueryByExampleExecutor.findAll(Example<S> example, Sort sort) |
<S extends T> | ReactiveQueryByExampleExecutor.findAll(Example<S> example, Sort sort) |
<S extends T> | QueryByExampleExecutor.findOne(Example<S> example) 指定された Example に一致する単一のエンティティを返します。エンティティが見つからなかった場合は null を返します。 |
<S extends T> | ReactiveQueryByExampleExecutor.findOne(Example<S> example) 何も見つからなかった場合、指定された Example または Mono.empty() に一致する単一のエンティティを返します。 |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.