Class QuerydslPredicateBuilder

java.lang.Object
org.springframework.data.querydsl.binding.QuerydslPredicateBuilder

public class QuerydslPredicateBuilder extends Object
Builder assembling Predicate out of PropertyValues.
Since:
1.11
Author:
Christoph Strobl, Oliver Gierke, Mark Paluch
  • Constructor Details

  • Method Details

    • getPredicate

      public com.querydsl.core.types.Predicate getPredicate(TypeInformation<?> type, MultiValueMap<String,?> values, QuerydslBindings bindings)
      Creates a Querydsl Predicate for the given values, QuerydslBindings on the given TypeInformation.
      Parameters:
      type - the type to create a predicate for.
      values - the values to bind.
      bindings - the QuerydslBindings for the predicate.
      Returns:
      the Predicate.
    • isEmpty

      public static boolean isEmpty(com.querydsl.core.types.Predicate predicate)
      Returns whether the given Predicate represents an empty predicate instance.
      Parameters:
      predicate -
      Returns:
      Since:
      2.5.3
      See Also:
      • BooleanBuilder