Interface HibernateCriteriaBuilder

  • All Superinterfaces:
    jakarta.persistence.criteria.CriteriaBuilder
    All Known Subinterfaces:
    NodeBuilder
    All Known Implementing Classes:
    SqmCriteriaNodeBuilder

    public interface HibernateCriteriaBuilder
    extends jakarta.persistence.criteria.CriteriaBuilder
    Hibernate extensions to the JPA CriteriaBuilder.
    • Method Detail

      • createQuery

        JpaCriteriaQuery<Object> createQuery()
        Specified by:
        createQuery in interface jakarta.persistence.criteria.CriteriaBuilder
      • createQuery

        <T> JpaCriteriaQuery<T> createQuery​(Class<T> resultClass)
        Specified by:
        createQuery in interface jakarta.persistence.criteria.CriteriaBuilder
      • createTupleQuery

        JpaCriteriaQuery<jakarta.persistence.Tuple> createTupleQuery()
        Specified by:
        createTupleQuery in interface jakarta.persistence.criteria.CriteriaBuilder
      • createCriteriaUpdate

        <T> JpaCriteriaUpdate<T> createCriteriaUpdate​(Class<T> targetEntity)
        Specified by:
        createCriteriaUpdate in interface jakarta.persistence.criteria.CriteriaBuilder
      • createCriteriaDelete

        <T> JpaCriteriaDelete<T> createCriteriaDelete​(Class<T> targetEntity)
        Specified by:
        createCriteriaDelete in interface jakarta.persistence.criteria.CriteriaBuilder
      • unionAll

        default <T> JpaCriteriaQuery<T> unionAll​(jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                                 jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • union

        default <T> JpaCriteriaQuery<T> union​(jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                              jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • union

        <T> JpaCriteriaQuery<T> union​(boolean all,
                                      jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                      jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • intersectAll

        default <T> JpaCriteriaQuery<T> intersectAll​(jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                                     jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • intersect

        default <T> JpaCriteriaQuery<T> intersect​(jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                                  jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • intersect

        <T> JpaCriteriaQuery<T> intersect​(boolean all,
                                          jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                          jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • exceptAll

        default <T> JpaCriteriaQuery<T> exceptAll​(jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                                  jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • except

        default <T> JpaCriteriaQuery<T> except​(jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                               jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • except

        <T> JpaCriteriaQuery<T> except​(boolean all,
                                       jakarta.persistence.criteria.CriteriaQuery<? extends T> query1,
                                       jakarta.persistence.criteria.CriteriaQuery<?>... queries)
      • treat

        <X,​T extends X> JpaPath<T> treat​(jakarta.persistence.criteria.Path<X> path,
                                               Class<T> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • treat

        <X,​T extends X> JpaRoot<T> treat​(jakarta.persistence.criteria.Root<X> root,
                                               Class<T> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • treat

        <X,​T,​V extends T> JpaJoin<X,​V> treat​(jakarta.persistence.criteria.Join<X,​T> join,
                                                               Class<V> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • treat

        <X,​T,​E extends T> JpaCollectionJoin<X,​E> treat​(jakarta.persistence.criteria.CollectionJoin<X,​T> join,
                                                                         Class<E> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • treat

        <X,​T,​E extends T> JpaSetJoin<X,​E> treat​(jakarta.persistence.criteria.SetJoin<X,​T> join,
                                                                  Class<E> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • treat

        <X,​T,​E extends T> JpaListJoin<X,​E> treat​(jakarta.persistence.criteria.ListJoin<X,​T> join,
                                                                   Class<E> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • treat

        <X,​K,​T,​V extends T> JpaMapJoin<X,​K,​V> treat​(jakarta.persistence.criteria.MapJoin<X,​K,​T> join,
                                                                                  Class<V> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • construct

        <Y> JpaCompoundSelection<Y> construct​(Class<Y> resultClass,
                                              jakarta.persistence.criteria.Selection<?>[] selections)
        Specified by:
        construct in interface jakarta.persistence.criteria.CriteriaBuilder
      • tuple

        JpaCompoundSelection<jakarta.persistence.Tuple> tuple​(jakarta.persistence.criteria.Selection<?>[] selections)
        Specified by:
        tuple in interface jakarta.persistence.criteria.CriteriaBuilder
      • array

        JpaCompoundSelection<Object[]> array​(jakarta.persistence.criteria.Selection<?>[] selections)
        Specified by:
        array in interface jakarta.persistence.criteria.CriteriaBuilder
      • array

        <Y> JpaCompoundSelection<Y> array​(Class<Y> resultClass,
                                          jakarta.persistence.criteria.Selection<?>[] selections)
      • avg

        <N extends NumberJpaExpression<Double> avg​(jakarta.persistence.criteria.Expression<N> argument)
        Specified by:
        avg in interface jakarta.persistence.criteria.CriteriaBuilder
      • sum

        <N extends NumberJpaExpression<N> sum​(jakarta.persistence.criteria.Expression<N> argument)
        Specified by:
        sum in interface jakarta.persistence.criteria.CriteriaBuilder
      • sumAsLong

        JpaExpression<Long> sumAsLong​(jakarta.persistence.criteria.Expression<Integer> argument)
        Specified by:
        sumAsLong in interface jakarta.persistence.criteria.CriteriaBuilder
      • sumAsDouble

        JpaExpression<Double> sumAsDouble​(jakarta.persistence.criteria.Expression<Float> argument)
        Specified by:
        sumAsDouble in interface jakarta.persistence.criteria.CriteriaBuilder
      • max

        <N extends NumberJpaExpression<N> max​(jakarta.persistence.criteria.Expression<N> argument)
        Specified by:
        max in interface jakarta.persistence.criteria.CriteriaBuilder
      • min

        <N extends NumberJpaExpression<N> min​(jakarta.persistence.criteria.Expression<N> argument)
        Specified by:
        min in interface jakarta.persistence.criteria.CriteriaBuilder
      • greatest

        <X extends Comparable<? super X>> JpaExpression<X> greatest​(jakarta.persistence.criteria.Expression<X> argument)
        Specified by:
        greatest in interface jakarta.persistence.criteria.CriteriaBuilder
      • least

        <X extends Comparable<? super X>> JpaExpression<X> least​(jakarta.persistence.criteria.Expression<X> argument)
        Specified by:
        least in interface jakarta.persistence.criteria.CriteriaBuilder
      • count

        JpaExpression<Long> count​(jakarta.persistence.criteria.Expression<?> argument)
        Specified by:
        count in interface jakarta.persistence.criteria.CriteriaBuilder
      • countDistinct

        JpaExpression<Long> countDistinct​(jakarta.persistence.criteria.Expression<?> x)
        Specified by:
        countDistinct in interface jakarta.persistence.criteria.CriteriaBuilder
      • neg

        <N extends NumberJpaExpression<N> neg​(jakarta.persistence.criteria.Expression<N> x)
        Specified by:
        neg in interface jakarta.persistence.criteria.CriteriaBuilder
      • abs

        <N extends NumberJpaExpression<N> abs​(jakarta.persistence.criteria.Expression<N> x)
        Specified by:
        abs in interface jakarta.persistence.criteria.CriteriaBuilder
      • sum

        <N extends NumberJpaExpression<N> sum​(jakarta.persistence.criteria.Expression<? extends N> x,
                                                jakarta.persistence.criteria.Expression<? extends N> y)
        Specified by:
        sum in interface jakarta.persistence.criteria.CriteriaBuilder
      • sum

        <N extends NumberJpaExpression<N> sum​(jakarta.persistence.criteria.Expression<? extends N> x,
                                                N y)
        Specified by:
        sum in interface jakarta.persistence.criteria.CriteriaBuilder
      • sum

        <N extends NumberJpaExpression<N> sum​(N x,
                                                jakarta.persistence.criteria.Expression<? extends N> y)
        Specified by:
        sum in interface jakarta.persistence.criteria.CriteriaBuilder
      • prod

        <N extends NumberJpaExpression<N> prod​(jakarta.persistence.criteria.Expression<? extends N> x,
                                                 jakarta.persistence.criteria.Expression<? extends N> y)
        Specified by:
        prod in interface jakarta.persistence.criteria.CriteriaBuilder
      • prod

        <N extends NumberJpaExpression<N> prod​(jakarta.persistence.criteria.Expression<? extends N> x,
                                                 N y)
        Specified by:
        prod in interface jakarta.persistence.criteria.CriteriaBuilder
      • prod

        <N extends NumberJpaExpression<N> prod​(N x,
                                                 jakarta.persistence.criteria.Expression<? extends N> y)
        Specified by:
        prod in interface jakarta.persistence.criteria.CriteriaBuilder
      • diff

        <N extends NumberJpaExpression<N> diff​(jakarta.persistence.criteria.Expression<? extends N> x,
                                                 jakarta.persistence.criteria.Expression<? extends N> y)
        Specified by:
        diff in interface jakarta.persistence.criteria.CriteriaBuilder
      • diff

        <N extends NumberJpaExpression<N> diff​(jakarta.persistence.criteria.Expression<? extends N> x,
                                                 N y)
        Specified by:
        diff in interface jakarta.persistence.criteria.CriteriaBuilder
      • diff

        <N extends NumberJpaExpression<N> diff​(N x,
                                                 jakarta.persistence.criteria.Expression<? extends N> y)
        Specified by:
        diff in interface jakarta.persistence.criteria.CriteriaBuilder
      • quot

        JpaExpression<Number> quot​(jakarta.persistence.criteria.Expression<? extends Number> x,
                                   jakarta.persistence.criteria.Expression<? extends Number> y)
        Specified by:
        quot in interface jakarta.persistence.criteria.CriteriaBuilder
      • quot

        JpaExpression<Number> quot​(jakarta.persistence.criteria.Expression<? extends Number> x,
                                   Number y)
        Specified by:
        quot in interface jakarta.persistence.criteria.CriteriaBuilder
      • quot

        JpaExpression<Number> quot​(Number x,
                                   jakarta.persistence.criteria.Expression<? extends Number> y)
        Specified by:
        quot in interface jakarta.persistence.criteria.CriteriaBuilder
      • mod

        JpaExpression<Integer> mod​(jakarta.persistence.criteria.Expression<Integer> x,
                                   jakarta.persistence.criteria.Expression<Integer> y)
        Specified by:
        mod in interface jakarta.persistence.criteria.CriteriaBuilder
      • mod

        JpaExpression<Integer> mod​(jakarta.persistence.criteria.Expression<Integer> x,
                                   Integer y)
        Specified by:
        mod in interface jakarta.persistence.criteria.CriteriaBuilder
      • mod

        JpaExpression<Integer> mod​(Integer x,
                                   jakarta.persistence.criteria.Expression<Integer> y)
        Specified by:
        mod in interface jakarta.persistence.criteria.CriteriaBuilder
      • sqrt

        JpaExpression<Double> sqrt​(jakarta.persistence.criteria.Expression<? extends Number> x)
        Specified by:
        sqrt in interface jakarta.persistence.criteria.CriteriaBuilder
      • toLong

        JpaExpression<Long> toLong​(jakarta.persistence.criteria.Expression<? extends Number> number)
        Specified by:
        toLong in interface jakarta.persistence.criteria.CriteriaBuilder
      • toInteger

        JpaExpression<Integer> toInteger​(jakarta.persistence.criteria.Expression<? extends Number> number)
        Specified by:
        toInteger in interface jakarta.persistence.criteria.CriteriaBuilder
      • toFloat

        JpaExpression<Float> toFloat​(jakarta.persistence.criteria.Expression<? extends Number> number)
        Specified by:
        toFloat in interface jakarta.persistence.criteria.CriteriaBuilder
      • toDouble

        JpaExpression<Double> toDouble​(jakarta.persistence.criteria.Expression<? extends Number> number)
        Specified by:
        toDouble in interface jakarta.persistence.criteria.CriteriaBuilder
      • toBigDecimal

        JpaExpression<BigDecimal> toBigDecimal​(jakarta.persistence.criteria.Expression<? extends Number> number)
        Specified by:
        toBigDecimal in interface jakarta.persistence.criteria.CriteriaBuilder
      • toBigInteger

        JpaExpression<BigInteger> toBigInteger​(jakarta.persistence.criteria.Expression<? extends Number> number)
        Specified by:
        toBigInteger in interface jakarta.persistence.criteria.CriteriaBuilder
      • toString

        JpaExpression<String> toString​(jakarta.persistence.criteria.Expression<Character> character)
        Specified by:
        toString in interface jakarta.persistence.criteria.CriteriaBuilder
      • literal

        <T> JpaExpression<T> literal​(T value)
        Specified by:
        literal in interface jakarta.persistence.criteria.CriteriaBuilder
      • nullLiteral

        <T> JpaExpression<T> nullLiteral​(Class<T> resultClass)
        Specified by:
        nullLiteral in interface jakarta.persistence.criteria.CriteriaBuilder
      • parameter

        <T> JpaParameterExpression<T> parameter​(Class<T> paramClass)
        Specified by:
        parameter in interface jakarta.persistence.criteria.CriteriaBuilder
      • parameter

        <T> JpaParameterExpression<T> parameter​(Class<T> paramClass,
                                                String name)
        Specified by:
        parameter in interface jakarta.persistence.criteria.CriteriaBuilder
      • concat

        JpaExpression<String> concat​(jakarta.persistence.criteria.Expression<String> x,
                                     jakarta.persistence.criteria.Expression<String> y)
        Specified by:
        concat in interface jakarta.persistence.criteria.CriteriaBuilder
      • concat

        JpaExpression<String> concat​(jakarta.persistence.criteria.Expression<String> x,
                                     String y)
        Specified by:
        concat in interface jakarta.persistence.criteria.CriteriaBuilder
      • concat

        JpaExpression<String> concat​(String x,
                                     jakarta.persistence.criteria.Expression<String> y)
        Specified by:
        concat in interface jakarta.persistence.criteria.CriteriaBuilder
      • substring

        JpaFunction<String> substring​(jakarta.persistence.criteria.Expression<String> x,
                                      jakarta.persistence.criteria.Expression<Integer> from)
        Specified by:
        substring in interface jakarta.persistence.criteria.CriteriaBuilder
      • substring

        JpaFunction<String> substring​(jakarta.persistence.criteria.Expression<String> x,
                                      int from)
        Specified by:
        substring in interface jakarta.persistence.criteria.CriteriaBuilder
      • substring

        JpaFunction<String> substring​(jakarta.persistence.criteria.Expression<String> x,
                                      jakarta.persistence.criteria.Expression<Integer> from,
                                      jakarta.persistence.criteria.Expression<Integer> len)
        Specified by:
        substring in interface jakarta.persistence.criteria.CriteriaBuilder
      • substring

        JpaFunction<String> substring​(jakarta.persistence.criteria.Expression<String> x,
                                      int from,
                                      int len)
        Specified by:
        substring in interface jakarta.persistence.criteria.CriteriaBuilder
      • trim

        JpaFunction<String> trim​(jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        trim in interface jakarta.persistence.criteria.CriteriaBuilder
      • trim

        JpaFunction<String> trim​(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts,
                                 jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        trim in interface jakarta.persistence.criteria.CriteriaBuilder
      • trim

        JpaFunction<String> trim​(jakarta.persistence.criteria.Expression<Character> t,
                                 jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        trim in interface jakarta.persistence.criteria.CriteriaBuilder
      • trim

        JpaFunction<String> trim​(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts,
                                 jakarta.persistence.criteria.Expression<Character> t,
                                 jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        trim in interface jakarta.persistence.criteria.CriteriaBuilder
      • trim

        JpaFunction<String> trim​(char t,
                                 jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        trim in interface jakarta.persistence.criteria.CriteriaBuilder
      • trim

        JpaFunction<String> trim​(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts,
                                 char t,
                                 jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        trim in interface jakarta.persistence.criteria.CriteriaBuilder
      • lower

        JpaFunction<String> lower​(jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        lower in interface jakarta.persistence.criteria.CriteriaBuilder
      • upper

        JpaFunction<String> upper​(jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        upper in interface jakarta.persistence.criteria.CriteriaBuilder
      • length

        JpaFunction<Integer> length​(jakarta.persistence.criteria.Expression<String> x)
        Specified by:
        length in interface jakarta.persistence.criteria.CriteriaBuilder
      • locate

        JpaFunction<Integer> locate​(jakarta.persistence.criteria.Expression<String> x,
                                    jakarta.persistence.criteria.Expression<String> pattern)
        Specified by:
        locate in interface jakarta.persistence.criteria.CriteriaBuilder
      • locate

        JpaFunction<Integer> locate​(jakarta.persistence.criteria.Expression<String> x,
                                    String pattern)
        Specified by:
        locate in interface jakarta.persistence.criteria.CriteriaBuilder
      • locate

        JpaFunction<Integer> locate​(jakarta.persistence.criteria.Expression<String> x,
                                    jakarta.persistence.criteria.Expression<String> pattern,
                                    jakarta.persistence.criteria.Expression<Integer> from)
        Specified by:
        locate in interface jakarta.persistence.criteria.CriteriaBuilder
      • locate

        JpaFunction<Integer> locate​(jakarta.persistence.criteria.Expression<String> x,
                                    String pattern,
                                    int from)
        Specified by:
        locate in interface jakarta.persistence.criteria.CriteriaBuilder
      • currentDate

        JpaFunction<Date> currentDate()
        Specified by:
        currentDate in interface jakarta.persistence.criteria.CriteriaBuilder
      • currentTimestamp

        JpaFunction<Timestamp> currentTimestamp()
        Specified by:
        currentTimestamp in interface jakarta.persistence.criteria.CriteriaBuilder
      • function

        <T> JpaFunction<T> function​(String name,
                                    Class<T> type,
                                    jakarta.persistence.criteria.Expression<?>[] args)
        Specified by:
        function in interface jakarta.persistence.criteria.CriteriaBuilder
      • all

        <Y> JpaExpression<Y> all​(jakarta.persistence.criteria.Subquery<Y> subquery)
        Specified by:
        all in interface jakarta.persistence.criteria.CriteriaBuilder
      • some

        <Y> JpaExpression<Y> some​(jakarta.persistence.criteria.Subquery<Y> subquery)
        Specified by:
        some in interface jakarta.persistence.criteria.CriteriaBuilder
      • any

        <Y> JpaExpression<Y> any​(jakarta.persistence.criteria.Subquery<Y> subquery)
        Specified by:
        any in interface jakarta.persistence.criteria.CriteriaBuilder
      • keys

        <K,​M extends Map<K,​?>> JpaExpression<Set<K>> keys​(M map)
        Specified by:
        keys in interface jakarta.persistence.criteria.CriteriaBuilder
      • values

        <V,​M extends Map<?,​V>> jakarta.persistence.criteria.Expression<Collection<V>> values​(M map)
        Specified by:
        values in interface jakarta.persistence.criteria.CriteriaBuilder
      • size

        <C extends Collection<?>> JpaExpression<Integer> size​(jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        size in interface jakarta.persistence.criteria.CriteriaBuilder
      • size

        <C extends Collection<?>> JpaExpression<Integer> size​(C collection)
        Specified by:
        size in interface jakarta.persistence.criteria.CriteriaBuilder
      • coalesce

        <T> JpaCoalesce<T> coalesce()
        Specified by:
        coalesce in interface jakarta.persistence.criteria.CriteriaBuilder
      • coalesce

        <Y> JpaCoalesce<Y> coalesce​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                    jakarta.persistence.criteria.Expression<? extends Y> y)
        Specified by:
        coalesce in interface jakarta.persistence.criteria.CriteriaBuilder
      • coalesce

        <Y> JpaCoalesce<Y> coalesce​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                    Y y)
        Specified by:
        coalesce in interface jakarta.persistence.criteria.CriteriaBuilder
      • nullif

        <Y> JpaExpression<Y> nullif​(jakarta.persistence.criteria.Expression<Y> x,
                                    jakarta.persistence.criteria.Expression<?> y)
        Specified by:
        nullif in interface jakarta.persistence.criteria.CriteriaBuilder
      • nullif

        <Y> JpaExpression<Y> nullif​(jakarta.persistence.criteria.Expression<Y> x,
                                    Y y)
        Specified by:
        nullif in interface jakarta.persistence.criteria.CriteriaBuilder
      • selectCase

        <C,​R> JpaSimpleCase<C,​R> selectCase​(jakarta.persistence.criteria.Expression<? extends C> expression)
        Specified by:
        selectCase in interface jakarta.persistence.criteria.CriteriaBuilder
      • selectCase

        <R> JpaSearchedCase<R> selectCase()
        Specified by:
        selectCase in interface jakarta.persistence.criteria.CriteriaBuilder
      • tuple

        <R> JpaCompoundSelection<R> tuple​(Class<R> tupleType,
                                          JpaExpression<?>... expressions)
        Create a tuple, as in a composite value, usable in any part of the query.
        Parameters:
        tupleType - The Java type
        expressions - The individual expressions making up the tuple
      • tuple

        <R> JpaCompoundSelection<R> tuple​(Class<R> tupleType,
                                          List<? extends JpaExpression<?>> expressions)
        Create a tuple, as in a composite value, usable in any part of the query.
        Parameters:
        tupleType - The Java type
        expressions - The individual expressions making up the tuple
      • tuple

        <R> JpaCompoundSelection<R> tuple​(DomainType<R> tupleType,
                                          JpaExpression<?>... expressions)
        Create a tuple, as in a composite value, usable in any part of the query.
        Parameters:
        tupleType - The metamodel DomainType descriptor to apply to the tuple
        expressions - The individual expressions making up the tuple
      • tuple

        <R> JpaCompoundSelection<R> tuple​(DomainType<R> tupleType,
                                          List<? extends JpaExpression<?>> expressions)
        Create a tuple, as in a composite value, usable in any part of the query.
        Parameters:
        tupleType - The metamodel DomainType descriptor to apply to the tuple
        expressions - The individual expressions making up the tuple
      • and

        JpaPredicate and​(jakarta.persistence.criteria.Expression<Boolean> x,
                         jakarta.persistence.criteria.Expression<Boolean> y)
        Specified by:
        and in interface jakarta.persistence.criteria.CriteriaBuilder
      • and

        JpaPredicate and​(jakarta.persistence.criteria.Predicate... restrictions)
        Specified by:
        and in interface jakarta.persistence.criteria.CriteriaBuilder
      • or

        JpaPredicate or​(jakarta.persistence.criteria.Expression<Boolean> x,
                        jakarta.persistence.criteria.Expression<Boolean> y)
        Specified by:
        or in interface jakarta.persistence.criteria.CriteriaBuilder
      • or

        JpaPredicate or​(jakarta.persistence.criteria.Predicate... restrictions)
        Specified by:
        or in interface jakarta.persistence.criteria.CriteriaBuilder
      • not

        JpaPredicate not​(jakarta.persistence.criteria.Expression<Boolean> restriction)
        Specified by:
        not in interface jakarta.persistence.criteria.CriteriaBuilder
      • conjunction

        JpaPredicate conjunction()
        Specified by:
        conjunction in interface jakarta.persistence.criteria.CriteriaBuilder
      • disjunction

        JpaPredicate disjunction()
        Specified by:
        disjunction in interface jakarta.persistence.criteria.CriteriaBuilder
      • isTrue

        JpaPredicate isTrue​(jakarta.persistence.criteria.Expression<Boolean> x)
        Specified by:
        isTrue in interface jakarta.persistence.criteria.CriteriaBuilder
      • isFalse

        JpaPredicate isFalse​(jakarta.persistence.criteria.Expression<Boolean> x)
        Specified by:
        isFalse in interface jakarta.persistence.criteria.CriteriaBuilder
      • isNull

        JpaPredicate isNull​(jakarta.persistence.criteria.Expression<?> x)
        Specified by:
        isNull in interface jakarta.persistence.criteria.CriteriaBuilder
      • isNotNull

        JpaPredicate isNotNull​(jakarta.persistence.criteria.Expression<?> x)
        Specified by:
        isNotNull in interface jakarta.persistence.criteria.CriteriaBuilder
      • equal

        JpaPredicate equal​(jakarta.persistence.criteria.Expression<?> x,
                           jakarta.persistence.criteria.Expression<?> y)
        Specified by:
        equal in interface jakarta.persistence.criteria.CriteriaBuilder
      • equal

        JpaPredicate equal​(jakarta.persistence.criteria.Expression<?> x,
                           Object y)
        Specified by:
        equal in interface jakarta.persistence.criteria.CriteriaBuilder
      • notEqual

        JpaPredicate notEqual​(jakarta.persistence.criteria.Expression<?> x,
                              jakarta.persistence.criteria.Expression<?> y)
        Specified by:
        notEqual in interface jakarta.persistence.criteria.CriteriaBuilder
      • notEqual

        JpaPredicate notEqual​(jakarta.persistence.criteria.Expression<?> x,
                              Object y)
        Specified by:
        notEqual in interface jakarta.persistence.criteria.CriteriaBuilder
      • distinctFrom

        JpaPredicate distinctFrom​(jakarta.persistence.criteria.Expression<?> x,
                                  jakarta.persistence.criteria.Expression<?> y)
      • distinctFrom

        JpaPredicate distinctFrom​(jakarta.persistence.criteria.Expression<?> x,
                                  Object y)
      • notDistinctFrom

        JpaPredicate notDistinctFrom​(jakarta.persistence.criteria.Expression<?> x,
                                     jakarta.persistence.criteria.Expression<?> y)
      • notDistinctFrom

        JpaPredicate notDistinctFrom​(jakarta.persistence.criteria.Expression<?> x,
                                     Object y)
      • greaterThan

        <Y extends Comparable<? super Y>> JpaPredicate greaterThan​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                   jakarta.persistence.criteria.Expression<? extends Y> y)
        Specified by:
        greaterThan in interface jakarta.persistence.criteria.CriteriaBuilder
      • greaterThan

        <Y extends Comparable<? super Y>> JpaPredicate greaterThan​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                   Y y)
        Specified by:
        greaterThan in interface jakarta.persistence.criteria.CriteriaBuilder
      • greaterThanOrEqualTo

        <Y extends Comparable<? super Y>> JpaPredicate greaterThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                            jakarta.persistence.criteria.Expression<? extends Y> y)
        Specified by:
        greaterThanOrEqualTo in interface jakarta.persistence.criteria.CriteriaBuilder
      • greaterThanOrEqualTo

        <Y extends Comparable<? super Y>> JpaPredicate greaterThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                            Y y)
        Specified by:
        greaterThanOrEqualTo in interface jakarta.persistence.criteria.CriteriaBuilder
      • lessThan

        <Y extends Comparable<? super Y>> JpaPredicate lessThan​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                jakarta.persistence.criteria.Expression<? extends Y> y)
        Specified by:
        lessThan in interface jakarta.persistence.criteria.CriteriaBuilder
      • lessThan

        <Y extends Comparable<? super Y>> JpaPredicate lessThan​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                Y y)
        Specified by:
        lessThan in interface jakarta.persistence.criteria.CriteriaBuilder
      • lessThanOrEqualTo

        <Y extends Comparable<? super Y>> JpaPredicate lessThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                         jakarta.persistence.criteria.Expression<? extends Y> y)
        Specified by:
        lessThanOrEqualTo in interface jakarta.persistence.criteria.CriteriaBuilder
      • lessThanOrEqualTo

        <Y extends Comparable<? super Y>> JpaPredicate lessThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x,
                                                                         Y y)
        Specified by:
        lessThanOrEqualTo in interface jakarta.persistence.criteria.CriteriaBuilder
      • between

        <Y extends Comparable<? super Y>> JpaPredicate between​(jakarta.persistence.criteria.Expression<? extends Y> value,
                                                               jakarta.persistence.criteria.Expression<? extends Y> lower,
                                                               jakarta.persistence.criteria.Expression<? extends Y> upper)
        Specified by:
        between in interface jakarta.persistence.criteria.CriteriaBuilder
      • between

        <Y extends Comparable<? super Y>> JpaPredicate between​(jakarta.persistence.criteria.Expression<? extends Y> value,
                                                               Y lower,
                                                               Y upper)
        Specified by:
        between in interface jakarta.persistence.criteria.CriteriaBuilder
      • gt

        JpaPredicate gt​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        jakarta.persistence.criteria.Expression<? extends Number> y)
        Specified by:
        gt in interface jakarta.persistence.criteria.CriteriaBuilder
      • gt

        JpaPredicate gt​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        Number y)
        Specified by:
        gt in interface jakarta.persistence.criteria.CriteriaBuilder
      • ge

        JpaPredicate ge​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        jakarta.persistence.criteria.Expression<? extends Number> y)
        Specified by:
        ge in interface jakarta.persistence.criteria.CriteriaBuilder
      • ge

        JpaPredicate ge​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        Number y)
        Specified by:
        ge in interface jakarta.persistence.criteria.CriteriaBuilder
      • lt

        JpaPredicate lt​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        jakarta.persistence.criteria.Expression<? extends Number> y)
        Specified by:
        lt in interface jakarta.persistence.criteria.CriteriaBuilder
      • lt

        JpaPredicate lt​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        Number y)
        Specified by:
        lt in interface jakarta.persistence.criteria.CriteriaBuilder
      • le

        JpaPredicate le​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        jakarta.persistence.criteria.Expression<? extends Number> y)
        Specified by:
        le in interface jakarta.persistence.criteria.CriteriaBuilder
      • le

        JpaPredicate le​(jakarta.persistence.criteria.Expression<? extends Number> x,
                        Number y)
        Specified by:
        le in interface jakarta.persistence.criteria.CriteriaBuilder
      • isEmpty

        <C extends Collection<?>> JpaPredicate isEmpty​(jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        isEmpty in interface jakarta.persistence.criteria.CriteriaBuilder
      • isNotEmpty

        <C extends Collection<?>> JpaPredicate isNotEmpty​(jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        isNotEmpty in interface jakarta.persistence.criteria.CriteriaBuilder
      • isMember

        <E,​C extends Collection<E>> JpaPredicate isMember​(jakarta.persistence.criteria.Expression<E> elem,
                                                                jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        isMember in interface jakarta.persistence.criteria.CriteriaBuilder
      • isMember

        <E,​C extends Collection<E>> JpaPredicate isMember​(E elem,
                                                                jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        isMember in interface jakarta.persistence.criteria.CriteriaBuilder
      • isNotMember

        <E,​C extends Collection<E>> JpaPredicate isNotMember​(jakarta.persistence.criteria.Expression<E> elem,
                                                                   jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        isNotMember in interface jakarta.persistence.criteria.CriteriaBuilder
      • isNotMember

        <E,​C extends Collection<E>> JpaPredicate isNotMember​(E elem,
                                                                   jakarta.persistence.criteria.Expression<C> collection)
        Specified by:
        isNotMember in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

        JpaPredicate like​(jakarta.persistence.criteria.Expression<String> x,
                          jakarta.persistence.criteria.Expression<String> pattern)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

        JpaPredicate like​(jakarta.persistence.criteria.Expression<String> x,
                          String pattern)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

        JpaPredicate like​(jakarta.persistence.criteria.Expression<String> x,
                          jakarta.persistence.criteria.Expression<String> pattern,
                          jakarta.persistence.criteria.Expression<Character> escapeChar)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

        JpaPredicate like​(jakarta.persistence.criteria.Expression<String> x,
                          jakarta.persistence.criteria.Expression<String> pattern,
                          char escapeChar)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

        JpaPredicate like​(jakarta.persistence.criteria.Expression<String> x,
                          String pattern,
                          jakarta.persistence.criteria.Expression<Character> escapeChar)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

        JpaPredicate like​(jakarta.persistence.criteria.Expression<String> x,
                          String pattern,
                          char escapeChar)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • ilike

        JpaPredicate ilike​(jakarta.persistence.criteria.Expression<String> x,
                           jakarta.persistence.criteria.Expression<String> pattern)
      • ilike

        JpaPredicate ilike​(jakarta.persistence.criteria.Expression<String> x,
                           jakarta.persistence.criteria.Expression<String> pattern,
                           jakarta.persistence.criteria.Expression<Character> escapeChar)
      • ilike

        JpaPredicate ilike​(jakarta.persistence.criteria.Expression<String> x,
                           jakarta.persistence.criteria.Expression<String> pattern,
                           char escapeChar)
      • notLike

        JpaPredicate notLike​(jakarta.persistence.criteria.Expression<String> x,
                             jakarta.persistence.criteria.Expression<String> pattern)
        Specified by:
        notLike in interface jakarta.persistence.criteria.CriteriaBuilder
      • notLike

        JpaPredicate notLike​(jakarta.persistence.criteria.Expression<String> x,
                             String pattern)
        Specified by:
        notLike in interface jakarta.persistence.criteria.CriteriaBuilder
      • notLike

        JpaPredicate notLike​(jakarta.persistence.criteria.Expression<String> x,
                             jakarta.persistence.criteria.Expression<String> pattern,
                             jakarta.persistence.criteria.Expression<Character> escapeChar)
        Specified by:
        notLike in interface jakarta.persistence.criteria.CriteriaBuilder
      • notLike

        JpaPredicate notLike​(jakarta.persistence.criteria.Expression<String> x,
                             jakarta.persistence.criteria.Expression<String> pattern,
                             char escapeChar)
        Specified by:
        notLike in interface jakarta.persistence.criteria.CriteriaBuilder
      • notLike

        JpaPredicate notLike​(jakarta.persistence.criteria.Expression<String> x,
                             String pattern,
                             jakarta.persistence.criteria.Expression<Character> escapeChar)
        Specified by:
        notLike in interface jakarta.persistence.criteria.CriteriaBuilder
      • notLike

        JpaPredicate notLike​(jakarta.persistence.criteria.Expression<String> x,
                             String pattern,
                             char escapeChar)
        Specified by:
        notLike in interface jakarta.persistence.criteria.CriteriaBuilder
      • notIlike

        JpaPredicate notIlike​(jakarta.persistence.criteria.Expression<String> x,
                              jakarta.persistence.criteria.Expression<String> pattern)
      • notIlike

        JpaPredicate notIlike​(jakarta.persistence.criteria.Expression<String> x,
                              jakarta.persistence.criteria.Expression<String> pattern,
                              jakarta.persistence.criteria.Expression<Character> escapeChar)
      • notIlike

        JpaPredicate notIlike​(jakarta.persistence.criteria.Expression<String> x,
                              jakarta.persistence.criteria.Expression<String> pattern,
                              char escapeChar)
      • notIlike

        JpaPredicate notIlike​(jakarta.persistence.criteria.Expression<String> x,
                              String pattern,
                              jakarta.persistence.criteria.Expression<Character> escapeChar)
      • notIlike

        JpaPredicate notIlike​(jakarta.persistence.criteria.Expression<String> x,
                              String pattern,
                              char escapeChar)
      • in

        <T> JpaInPredicate<T> in​(jakarta.persistence.criteria.Expression<? extends T> expression)
        Specified by:
        in in interface jakarta.persistence.criteria.CriteriaBuilder
      • in

        <T> JpaInPredicate<T> in​(jakarta.persistence.criteria.Expression<? extends T> expression,
                                 jakarta.persistence.criteria.Expression<? extends T>... values)
      • in

        <T> JpaInPredicate<T> in​(jakarta.persistence.criteria.Expression<? extends T> expression,
                                 T... values)
      • in

        <T> JpaInPredicate<T> in​(jakarta.persistence.criteria.Expression<? extends T> expression,
                                 Collection<T> values)
      • exists

        JpaPredicate exists​(jakarta.persistence.criteria.Subquery<?> subquery)
        Specified by:
        exists in interface jakarta.persistence.criteria.CriteriaBuilder
      • isMapEmpty

        <M extends Map<?,​?>> JpaPredicate isMapEmpty​(JpaExpression<M> mapExpression)
        Create a predicate that tests whether a Map is empty.

        NOTE : Due to type-erasure we cannot name this the same as CriteriaBuilder.isEmpty(jakarta.persistence.criteria.Expression<C>)

        Parameters:
        mapExpression - The expression resolving to a Map which we want to check for emptiness
        Returns:
        is-empty predicate
      • isMapNotEmpty

        <M extends Map<?,​?>> JpaPredicate isMapNotEmpty​(JpaExpression<M> mapExpression)
        Create a predicate that tests whether a Map is not empty.

        NOTE : Due to type-erasure we cannot name this the same as CriteriaBuilder.isNotEmpty(jakarta.persistence.criteria.Expression<C>)

        Parameters:
        mapExpression - The expression resolving to a Map which we want to check for non-emptiness
        Returns:
        is-not-empty predicate
      • mapSize

        <M extends Map<?,​?>> JpaExpression<Integer> mapSize​(JpaExpression<M> mapExpression)
        Create an expression that tests the size of a map.

        NOTE : Due to type-erasure we cannot name this the same as CriteriaBuilder.size(jakarta.persistence.criteria.Expression<C>)

        Parameters:
        mapExpression - The expression resolving to a Map for which we want to know the size
        Returns:
        size expression
      • mapSize

        <M extends Map<?,​?>> JpaExpression<Integer> mapSize​(M map)
        Create an expression that tests the size of a map.
        Parameters:
        map - The Map for which we want to know the size
        Returns:
        size expression
      • asc

        JpaOrder asc​(jakarta.persistence.criteria.Expression<?> x)
        Specified by:
        asc in interface jakarta.persistence.criteria.CriteriaBuilder
      • desc

        JpaOrder desc​(jakarta.persistence.criteria.Expression<?> x)
        Specified by:
        desc in interface jakarta.persistence.criteria.CriteriaBuilder