Interface PredicateBuilder

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PredicateBuilder
Implementation of this interface can participate in the building of CriteriaQuery created by one the query builders.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    This interface allows to create subqueries in predicates without exposing the CriteriaQuery instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.persistence.criteria.Predicate
    createPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.From<?,?> queryRoot, FieldAccessor fieldAccessor, PredicateBuilder.SubqueryFactory subqueryFactory, Map<String,?> queryHints)
     
  • Method Details

    • createPredicate

      javax.persistence.criteria.Predicate createPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.From<?,?> queryRoot, FieldAccessor fieldAccessor, PredicateBuilder.SubqueryFactory subqueryFactory, Map<String,?> queryHints)