インターフェース ListQueryByExampleExecutor<T>

型パラメーター:
T - このエグゼキュータが作用するエンティティの型。
すべてのスーパーインターフェース:
QueryByExampleExecutor<T>

public interface ListQueryByExampleExecutor<T> extends QueryByExampleExecutor<T>
Query by Example Example インスタンスの実行を可能にするインターフェース。これは、該当する場合、IterableSE の代わりに ListSE を返す QueryByExampleExecutor の拡張です。
導入:
3.0
作成者:
Jens Schauder
関連事項:
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    <S extends T>
    ListSE<S>
    findAll(Example<S> example)
    指定された Example に一致するすべてのエンティティを返します。
    <S extends T>
    ListSE<S>
    findAll(Example<S> example, Sort sort)
    指定された Sort を適用して、指定された Example に一致するすべてのエンティティを返します。

    インターフェース org.springframework.data.repository.query.QueryByExampleExecutor から継承されたメソッド

    count, exists, findAll, findBy, findOne
  • メソッドの詳細

    • findAll

      <S extends T> ListSE<S> findAll(Example<S> example)
      指定された Example に一致するすべてのエンティティを返します。一致が見つからなかった場合は、空の ListSE が返されます。
      次で指定:
      インターフェース QueryByExampleExecutor<T>findAll 
      パラメーター:
      example - null であってはなりません。
      戻り値:
      指定された Example に一致するすべてのエンティティ。
    • findAll

      <S extends T> ListSE<S> findAll(Example<S> example, Sort sort)
      指定された Sort を適用して、指定された Example に一致するすべてのエンティティを返します。一致が見つからなかった場合は、空の ListSE が返されます。
      次で指定:
      インターフェース QueryByExampleExecutor<T>findAll 
      パラメーター:
      example - null であってはなりません。
      sort - 結果をソートするための Sort 仕様。Sort.unsorted() の場合もあり、null であってはなりません。
      戻り値:
      指定された Example に一致するすべてのエンティティ。