クラス QuerydslPredicateBuilder
java.lang.ObjectSE
org.springframework.data.querydsl.binding.QuerydslPredicateBuilder
PropertyValues から Predicate を組み立てるビルダー。- 導入:
- 1.11
- 作成者:
- Christoph Strobl, Oliver Gierke, Mark Paluch, Johannes Englmeier
コンストラクターの概要
コンストラクターコンストラクター説明QuerydslPredicateBuilder(ConversionService conversionService, EntityPathResolver resolver) メソッドのサマリー
修飾子と型メソッド説明com.querydsl.core.types.PredicategetPredicate(TypeInformation<?> type, MultiValueMap<StringSE, ?> values, QuerydslBindings bindings) static booleanisEmpty(com.querydsl.core.types.Predicate predicate) 指定されたPredicateが空の述語インスタンスを表すかどうかを返します。
コンストラクターの詳細
QuerydslPredicateBuilder
- パラメーター:
conversionService- null であってはなりません。resolver- null でもかまいません。
メソッドの詳細
getPredicate
public com.querydsl.core.types.Predicate getPredicate(TypeInformation<?> type, MultiValueMap<StringSE, ?> values, QuerydslBindings bindings) - パラメーター:
type- 述語を作成する型。values- バインドする値。bindings- 述語のQuerydslBindings。- 戻り値:
Predicate
isEmpty
public static boolean isEmpty(com.querydsl.core.types.Predicate predicate) 指定されたPredicateが空の述語インスタンスを表すかどうかを返します。- パラメーター:
predicate-- 戻り値:
- 導入:
- 2.5.3
- 関連事項:
BooleanBuilder