Class CriteriaBuilderImpl

java.lang.Object
org.apache.openjpa.persistence.criteria.CriteriaBuilderImpl
All Implemented Interfaces:
jakarta.persistence.criteria.CriteriaBuilder, Serializable, ExpressionParser, OpenJPACriteriaBuilder

public class CriteriaBuilderImpl extends Object implements OpenJPACriteriaBuilder, ExpressionParser
Factory for Criteria query expressions. Acts as an adapter to OpenJPA ExpressionFactory.
Since:
2.0.0
Author:
Pinaki Poddar, Fay Wang
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder

    jakarta.persistence.criteria.CriteriaBuilder.Case<R extends Object>, jakarta.persistence.criteria.CriteriaBuilder.Coalesce<T extends Object>, jakarta.persistence.criteria.CriteriaBuilder.In<T extends Object>, jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C extends Object,R extends Object>, jakarta.persistence.criteria.CriteriaBuilder.Trimspec
  • Field Summary

    Fields inherited from interface org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

    LANG_CRITERIA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    abs(jakarta.persistence.criteria.Expression<N> x)
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    all(jakarta.persistence.criteria.Subquery<Y> subquery)
     
    jakarta.persistence.criteria.Predicate
    and(jakarta.persistence.criteria.Expression<Boolean> x, jakarta.persistence.criteria.Expression<Boolean> y)
     
    jakarta.persistence.criteria.Predicate
    and(jakarta.persistence.criteria.Predicate... restrictions)
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    any(jakarta.persistence.criteria.Subquery<Y> subquery)
     
    jakarta.persistence.criteria.CompoundSelection<Object[]>
    array(jakarta.persistence.criteria.Selection<?>... terms)
     
    jakarta.persistence.criteria.Order
    asc(jakarta.persistence.criteria.Expression<?> x)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<Double>
    avg(jakarta.persistence.criteria.Expression<N> x)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    between(jakarta.persistence.criteria.Expression<? extends Y> v, jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    between(jakarta.persistence.criteria.Expression<? extends Y> v, Y x, Y y)
     
    <T> jakarta.persistence.criteria.CriteriaBuilder.Coalesce<T>
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    coalesce(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    coalesce(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)
     
    jakarta.persistence.criteria.Expression<String>
    concat(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> y)
     
    jakarta.persistence.criteria.Expression<String>
    concat(jakarta.persistence.criteria.Expression<String> x, String y)
     
    jakarta.persistence.criteria.Expression<String>
    concat(String x, jakarta.persistence.criteria.Expression<String> y)
     
    jakarta.persistence.criteria.Predicate
     
    <Y> jakarta.persistence.criteria.CompoundSelection<Y>
    construct(Class<Y> result, jakarta.persistence.criteria.Selection<?>... selections)
    Define a select list item corresponding to a constructor.
    jakarta.persistence.criteria.Expression<Long>
    count(jakarta.persistence.criteria.Expression<?> x)
     
    jakarta.persistence.criteria.Expression<Long>
    countDistinct(jakarta.persistence.criteria.Expression<?> x)
     
    <T> jakarta.persistence.criteria.CriteriaDelete<T>
    createCriteriaDelete(Class<T> targetEntity)
     
    <T> jakarta.persistence.criteria.CriteriaUpdate<T>
    createCriteriaUpdate(Class<T> targetEntity)
     
    Create a CriteriaQuery object.
    createQuery(Class<T> resultClass)
    Create a Criteria query object with the specified result type.
    OpenJPACriteriaQuery<jakarta.persistence.Tuple>
    Create a Criteria query object that returns a tuple of objects as its result.
    jakarta.persistence.criteria.Expression<Date>
     
    jakarta.persistence.criteria.Expression<Time>
     
    jakarta.persistence.criteria.Expression<Timestamp>
     
    jakarta.persistence.criteria.Order
    desc(jakarta.persistence.criteria.Expression<?> x)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    diff(jakarta.persistence.criteria.Expression<? extends N> x, jakarta.persistence.criteria.Expression<? extends N> y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    diff(jakarta.persistence.criteria.Expression<? extends N> x, N y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    diff(N x, jakarta.persistence.criteria.Expression<? extends N> y)
     
    jakarta.persistence.criteria.Predicate
     
    jakarta.persistence.criteria.Predicate
    equal(jakarta.persistence.criteria.Expression<?> x, jakarta.persistence.criteria.Expression<?> y)
     
    jakarta.persistence.criteria.Predicate
    equal(jakarta.persistence.criteria.Expression<?> x, Object y)
     
    eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
    Parse the given query string.
    eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
    Parse the given value clauses.
    jakarta.persistence.criteria.Predicate
    exists(jakarta.persistence.criteria.Subquery<?> subquery)
     
    <T> jakarta.persistence.criteria.Expression<T>
    function(String name, Class<T> type, jakarta.persistence.criteria.Expression<?>... args)
     
    jakarta.persistence.criteria.Predicate
    ge(jakarta.persistence.criteria.Expression<? extends Number> x, jakarta.persistence.criteria.Expression<? extends Number> y)
     
    jakarta.persistence.criteria.Predicate
    ge(jakarta.persistence.criteria.Expression<? extends Number> x, Number y)
     
    Return a string key describing the language that this instance parses.
    jakarta.persistence.metamodel.Metamodel
    Gets the metamodel for the managed, persistent domain entities.
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    greaterThan(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    greaterThan(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    greaterThanOrEqualTo(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    greaterThanOrEqualTo(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)
     
    <X extends Comparable<? super X>>
    jakarta.persistence.criteria.Expression<X>
    greatest(jakarta.persistence.criteria.Expression<X> x)
     
    jakarta.persistence.criteria.Predicate
    gt(jakarta.persistence.criteria.Expression<? extends Number> x, jakarta.persistence.criteria.Expression<? extends Number> y)
     
    jakarta.persistence.criteria.Predicate
    gt(jakarta.persistence.criteria.Expression<? extends Number> x, Number y)
     
    <T> jakarta.persistence.criteria.CriteriaBuilder.In<T>
    in(jakarta.persistence.criteria.Expression<? extends T> expression)
     
    <C extends Collection<?>>
    jakarta.persistence.criteria.Predicate
    isEmpty(jakarta.persistence.criteria.Expression<C> collection)
     
    jakarta.persistence.criteria.Predicate
    isFalse(jakarta.persistence.criteria.Expression<Boolean> x)
     
    <E, C extends Collection<E>>
    jakarta.persistence.criteria.Predicate
    isMember(E e, jakarta.persistence.criteria.Expression<C> c)
     
    <E, C extends Collection<E>>
    jakarta.persistence.criteria.Predicate
    isMember(jakarta.persistence.criteria.Expression<E> e, jakarta.persistence.criteria.Expression<C> c)
     
    <C extends Collection<?>>
    jakarta.persistence.criteria.Predicate
    isNotEmpty(jakarta.persistence.criteria.Expression<C> collection)
     
    <E, C extends Collection<E>>
    jakarta.persistence.criteria.Predicate
    isNotMember(E e, jakarta.persistence.criteria.Expression<C> c)
     
    <E, C extends Collection<E>>
    jakarta.persistence.criteria.Predicate
    isNotMember(jakarta.persistence.criteria.Expression<E> e, jakarta.persistence.criteria.Expression<C> c)
     
    jakarta.persistence.criteria.Predicate
    isNotNull(jakarta.persistence.criteria.Expression<?> x)
     
    jakarta.persistence.criteria.Predicate
    isNull(jakarta.persistence.criteria.Expression<?> x)
     
    jakarta.persistence.criteria.Predicate
    isTrue(jakarta.persistence.criteria.Expression<Boolean> x)
     
    <K, M extends Map<K, ?>>
    jakarta.persistence.criteria.Expression<Set<K>>
    keys(M map)
     
    jakarta.persistence.criteria.Predicate
    le(jakarta.persistence.criteria.Expression<? extends Number> x, jakarta.persistence.criteria.Expression<? extends Number> y)
     
    jakarta.persistence.criteria.Predicate
    le(jakarta.persistence.criteria.Expression<? extends Number> x, Number y)
     
    <X extends Comparable<? super X>>
    jakarta.persistence.criteria.Expression<X>
    least(jakarta.persistence.criteria.Expression<X> x)
     
    jakarta.persistence.criteria.Expression<Integer>
    length(jakarta.persistence.criteria.Expression<String> x)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    lessThan(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    lessThan(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    lessThanOrEqualTo(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)
     
    <Y extends Comparable<? super Y>>
    jakarta.persistence.criteria.Predicate
    lessThanOrEqualTo(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)
     
    jakarta.persistence.criteria.Predicate
    like(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern)
     
    jakarta.persistence.criteria.Predicate
    like(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern, char escapeChar)
     
    jakarta.persistence.criteria.Predicate
    like(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Character> escapeChar)
     
    jakarta.persistence.criteria.Predicate
    like(jakarta.persistence.criteria.Expression<String> x, String pattern)
     
    jakarta.persistence.criteria.Predicate
    like(jakarta.persistence.criteria.Expression<String> x, String pattern, char escapeChar)
     
    jakarta.persistence.criteria.Predicate
    like(jakarta.persistence.criteria.Expression<String> x, String pattern, jakarta.persistence.criteria.Expression<Character> escapeChar)
     
    <T> jakarta.persistence.criteria.Expression<T>
    literal(T value)
     
    jakarta.persistence.criteria.Expression<Integer>
    locate(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern)
     
    jakarta.persistence.criteria.Expression<Integer>
    locate(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Integer> from)
     
    jakarta.persistence.criteria.Expression<Integer>
    locate(jakarta.persistence.criteria.Expression<String> x, String pattern)
     
    jakarta.persistence.criteria.Expression<Integer>
    locate(jakarta.persistence.criteria.Expression<String> x, String pattern, int from)
     
    jakarta.persistence.criteria.Expression<String>
    lower(jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.Predicate
    lt(jakarta.persistence.criteria.Expression<? extends Number> x, jakarta.persistence.criteria.Expression<? extends Number> y)
     
    jakarta.persistence.criteria.Predicate
    lt(jakarta.persistence.criteria.Expression<? extends Number> x, Number y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    max(jakarta.persistence.criteria.Expression<N> x)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    min(jakarta.persistence.criteria.Expression<N> x)
     
    jakarta.persistence.criteria.Expression<Integer>
    mod(jakarta.persistence.criteria.Expression<Integer> x, jakarta.persistence.criteria.Expression<Integer> y)
     
    jakarta.persistence.criteria.Expression<Integer>
    mod(jakarta.persistence.criteria.Expression<Integer> x, Integer y)
     
    jakarta.persistence.criteria.Expression<Integer>
    mod(Integer x, jakarta.persistence.criteria.Expression<Integer> y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    neg(jakarta.persistence.criteria.Expression<N> x)
     
    jakarta.persistence.criteria.Predicate
    not(jakarta.persistence.criteria.Expression<Boolean> restriction)
     
    jakarta.persistence.criteria.Predicate
    notEqual(jakarta.persistence.criteria.Expression<?> x, jakarta.persistence.criteria.Expression<?> y)
     
    jakarta.persistence.criteria.Predicate
    notEqual(jakarta.persistence.criteria.Expression<?> x, Object y)
     
    jakarta.persistence.criteria.Predicate
    notLike(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern)
     
    jakarta.persistence.criteria.Predicate
    notLike(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern, char escapeChar)
     
    jakarta.persistence.criteria.Predicate
    notLike(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Character> escapeChar)
     
    jakarta.persistence.criteria.Predicate
    notLike(jakarta.persistence.criteria.Expression<String> x, String pattern)
     
    jakarta.persistence.criteria.Predicate
    notLike(jakarta.persistence.criteria.Expression<String> x, String pattern, char escapeChar)
     
    jakarta.persistence.criteria.Predicate
    notLike(jakarta.persistence.criteria.Expression<String> x, String pattern, jakarta.persistence.criteria.Expression<Character> escapeChar)
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    nullif(jakarta.persistence.criteria.Expression<Y> x, jakarta.persistence.criteria.Expression<?> y)
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    nullif(jakarta.persistence.criteria.Expression<Y> x, Y y)
     
    <T> jakarta.persistence.criteria.Expression<T>
     
    jakarta.persistence.criteria.Predicate
    or(jakarta.persistence.criteria.Expression<Boolean> x, jakarta.persistence.criteria.Expression<Boolean> y)
     
    jakarta.persistence.criteria.Predicate
    or(jakarta.persistence.criteria.Predicate... restrictions)
     
    <T> jakarta.persistence.criteria.ParameterExpression<T>
    parameter(Class<T> paramClass)
    Construct a ParameterExpression with a null name as key.
    <T> jakarta.persistence.criteria.ParameterExpression<T>
    parameter(Class<T> paramClass, String name)
     
    Return a parsed intermediate form of the given query string.
    void
    Use the parsed query form to set information such as candidate type, result type, etc that was encoded in the query string.
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    prod(jakarta.persistence.criteria.Expression<? extends N> x, jakarta.persistence.criteria.Expression<? extends N> y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    prod(jakarta.persistence.criteria.Expression<? extends N> x, N y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    prod(N x, jakarta.persistence.criteria.Expression<? extends N> y)
     
    <T> jakarta.persistence.criteria.Predicate
    qbe(jakarta.persistence.criteria.From<?,T> from, T example)
    Overloaded with default comparison style and no extra attribute to exclude.
    <T> jakarta.persistence.criteria.Predicate
    qbe(jakarta.persistence.criteria.From<?,T> from, T example, jakarta.persistence.metamodel.Attribute<?,?>... excludes)
    Overloaded with default comparison style.
    <T> jakarta.persistence.criteria.Predicate
    qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style)
    Overloaded with no extra attribute to exclude.
    <T> jakarta.persistence.criteria.Predicate
    qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style, jakarta.persistence.metamodel.Attribute<?,?>... excludes)
    Create a predicate based upon the attribute values of a given "example" entity instance.
    Create a style to tune different aspects of comparison by example.
    jakarta.persistence.criteria.Expression<Number>
    quot(jakarta.persistence.criteria.Expression<? extends Number> x, jakarta.persistence.criteria.Expression<? extends Number> y)
     
    jakarta.persistence.criteria.Expression<Number>
    quot(jakarta.persistence.criteria.Expression<? extends Number> x, Number y)
     
    jakarta.persistence.criteria.Expression<Number>
    quot(Number x, jakarta.persistence.criteria.Expression<? extends Number> y)
     
    <R> jakarta.persistence.criteria.CriteriaBuilder.Case<R>
     
    <C, R> jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,R>
    selectCase(jakarta.persistence.criteria.Expression<? extends C> expression)
     
     
    <C extends Collection<?>>
    jakarta.persistence.criteria.Expression<Integer>
    size(C collection)
     
    <C extends Collection<?>>
    jakarta.persistence.criteria.Expression<Integer>
    size(jakarta.persistence.criteria.Expression<C> collection)
     
    <Y> jakarta.persistence.criteria.Expression<Y>
    some(jakarta.persistence.criteria.Subquery<Y> subquery)
     
    jakarta.persistence.criteria.Expression<Double>
    sqrt(jakarta.persistence.criteria.Expression<? extends Number> x)
     
    jakarta.persistence.criteria.Expression<String>
    substring(jakarta.persistence.criteria.Expression<String> x, int from)
     
    jakarta.persistence.criteria.Expression<String>
    substring(jakarta.persistence.criteria.Expression<String> x, int from, int len)
     
    jakarta.persistence.criteria.Expression<String>
    substring(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<Integer> from)
     
    jakarta.persistence.criteria.Expression<String>
    substring(jakarta.persistence.criteria.Expression<String> x, jakarta.persistence.criteria.Expression<Integer> from, jakarta.persistence.criteria.Expression<Integer> len)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    sum(jakarta.persistence.criteria.Expression<? extends N> x, jakarta.persistence.criteria.Expression<? extends N> y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    sum(jakarta.persistence.criteria.Expression<? extends N> x, N y)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    sum(jakarta.persistence.criteria.Expression<N> x)
     
    <N extends Number>
    jakarta.persistence.criteria.Expression<N>
    sum(N x, jakarta.persistence.criteria.Expression<? extends N> y)
     
    jakarta.persistence.criteria.Expression<Double>
    sumAsDouble(jakarta.persistence.criteria.Expression<Float> x)
     
    jakarta.persistence.criteria.Expression<Long>
    sumAsLong(jakarta.persistence.criteria.Expression<Integer> x)
     
    jakarta.persistence.criteria.Expression<BigDecimal>
    toBigDecimal(jakarta.persistence.criteria.Expression<? extends Number> number)
     
    jakarta.persistence.criteria.Expression<BigInteger>
    toBigInteger(jakarta.persistence.criteria.Expression<? extends Number> number)
     
    jakarta.persistence.criteria.Expression<Double>
    toDouble(jakarta.persistence.criteria.Expression<? extends Number> number)
     
    jakarta.persistence.criteria.Expression<Float>
    toFloat(jakarta.persistence.criteria.Expression<? extends Number> number)
     
    jakarta.persistence.criteria.Expression<Integer>
    toInteger(jakarta.persistence.criteria.Expression<? extends Number> number)
     
    jakarta.persistence.criteria.Expression<Long>
    toLong(jakarta.persistence.criteria.Expression<? extends Number> number)
     
    jakarta.persistence.criteria.Expression<String>
    toString(jakarta.persistence.criteria.Expression<Character> character)
     
    <X, T, E extends T>
    jakarta.persistence.criteria.CollectionJoin<X,E>
    treat(jakarta.persistence.criteria.CollectionJoin<X,T> join, Class<E> type)
     
    <X, T, V extends T>
    jakarta.persistence.criteria.Join<X,V>
    treat(jakarta.persistence.criteria.Join<X,T> join, Class<V> type)
     
    <X, T, E extends T>
    jakarta.persistence.criteria.ListJoin<X,E>
    treat(jakarta.persistence.criteria.ListJoin<X,T> join, Class<E> type)
     
    <X, K, T, V extends T>
    jakarta.persistence.criteria.MapJoin<X,K,V>
    treat(jakarta.persistence.criteria.MapJoin<X,K,T> join, Class<V> type)
     
    <X, T extends X>
    jakarta.persistence.criteria.Path<T>
    treat(jakarta.persistence.criteria.Path<X> path, Class<T> type)
     
    <X, T extends X>
    jakarta.persistence.criteria.Root<T>
    treat(jakarta.persistence.criteria.Root<X> root, Class<T> type)
     
    <X, T, E extends T>
    jakarta.persistence.criteria.SetJoin<X,E>
    treat(jakarta.persistence.criteria.SetJoin<X,T> join, Class<E> type)
     
    jakarta.persistence.criteria.Expression<String>
    trim(char t, jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.Expression<String>
    trim(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts, char t, jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.Expression<String>
    trim(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts, jakarta.persistence.criteria.Expression<Character> t, jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.Expression<String>
    trim(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts, jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.Expression<String>
    trim(jakarta.persistence.criteria.Expression<Character> t, jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.Expression<String>
    trim(jakarta.persistence.criteria.Expression<String> x)
     
    jakarta.persistence.criteria.CompoundSelection<jakarta.persistence.Tuple>
    tuple(jakarta.persistence.criteria.Selection<?>... selections)
    Define a tuple-valued selection item
    jakarta.persistence.criteria.Expression<String>
    upper(jakarta.persistence.criteria.Expression<String> x)
     
    <V, M extends Map<?, V>>
    jakarta.persistence.criteria.Expression<Collection<V>>
    values(M map)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CriteriaBuilderImpl

      public CriteriaBuilderImpl()
  • Method Details

    • setMetaModel

      public OpenJPACriteriaBuilder setMetaModel(MetamodelImpl model)
    • getMetamodel

      public jakarta.persistence.metamodel.Metamodel getMetamodel()
      Description copied from interface: OpenJPACriteriaBuilder
      Gets the metamodel for the managed, persistent domain entities.
      Specified by:
      getMetamodel in interface OpenJPACriteriaBuilder
    • eval

      public QueryExpressions eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
      Description copied from interface: ExpressionParser
      Parse the given query string.
      Specified by:
      eval in interface ExpressionParser
    • eval

      public Value[] eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
      Description copied from interface: ExpressionParser
      Parse the given value clauses.
      Specified by:
      eval in interface ExpressionParser
    • getLanguage

      public String getLanguage()
      Description copied from interface: ExpressionParser
      Return a string key describing the language that this instance parses.
      Specified by:
      getLanguage in interface ExpressionParser
    • createQuery

      public <T> OpenJPACriteriaQuery<T> createQuery(Class<T> resultClass)
      Create a Criteria query object with the specified result type.
      Specified by:
      createQuery in interface jakarta.persistence.criteria.CriteriaBuilder
      Specified by:
      createQuery in interface OpenJPACriteriaBuilder
      Parameters:
      resultClass - type of the query result
      Returns:
      query object
    • createTupleQuery

      public OpenJPACriteriaQuery<jakarta.persistence.Tuple> createTupleQuery()
      Create a Criteria query object that returns a tuple of objects as its result.
      Specified by:
      createTupleQuery in interface jakarta.persistence.criteria.CriteriaBuilder
      Specified by:
      createTupleQuery in interface OpenJPACriteriaBuilder
      Returns:
      query object
    • createCriteriaUpdate

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

      public <T> jakarta.persistence.criteria.CriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity)
      Specified by:
      createCriteriaDelete in interface jakarta.persistence.criteria.CriteriaBuilder
    • parse

      public Object parse(String ql, ExpressionStoreQuery query)
      Description copied from interface: ExpressionParser
      Return a parsed intermediate form of the given query string.
      Specified by:
      parse in interface ExpressionParser
    • populate

      public void populate(Object parsed, ExpressionStoreQuery query)
      Description copied from interface: ExpressionParser
      Use the parsed query form to set information such as candidate type, result type, etc that was encoded in the query string.
      Specified by:
      populate in interface ExpressionParser
    • abs

      public <N extends Number> jakarta.persistence.criteria.Expression<N> abs(jakarta.persistence.criteria.Expression<N> x)
      Specified by:
      abs in interface jakarta.persistence.criteria.CriteriaBuilder
    • all

      public <Y> jakarta.persistence.criteria.Expression<Y> all(jakarta.persistence.criteria.Subquery<Y> subquery)
      Specified by:
      all in interface jakarta.persistence.criteria.CriteriaBuilder
    • and

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

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

      public <Y> jakarta.persistence.criteria.Expression<Y> any(jakarta.persistence.criteria.Subquery<Y> subquery)
      Specified by:
      any in interface jakarta.persistence.criteria.CriteriaBuilder
    • asc

      public jakarta.persistence.criteria.Order asc(jakarta.persistence.criteria.Expression<?> x)
      Specified by:
      asc in interface jakarta.persistence.criteria.CriteriaBuilder
    • avg

      public <N extends Number> jakarta.persistence.criteria.Expression<Double> avg(jakarta.persistence.criteria.Expression<N> x)
      Specified by:
      avg in interface jakarta.persistence.criteria.CriteriaBuilder
    • between

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

      public <Y extends Comparable<? super Y>> jakarta.persistence.criteria.Predicate between(jakarta.persistence.criteria.Expression<? extends Y> v, Y x, Y y)
      Specified by:
      between in interface jakarta.persistence.criteria.CriteriaBuilder
    • coalesce

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

      public <Y> jakarta.persistence.criteria.Expression<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

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

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

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

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

      public jakarta.persistence.criteria.Predicate conjunction()
      Specified by:
      conjunction in interface jakarta.persistence.criteria.CriteriaBuilder
    • count

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

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

      public OpenJPACriteriaQuery<Object> createQuery()
      Description copied from interface: OpenJPACriteriaBuilder
      Create a CriteriaQuery object.
      Specified by:
      createQuery in interface jakarta.persistence.criteria.CriteriaBuilder
      Specified by:
      createQuery in interface OpenJPACriteriaBuilder
      Returns:
      criteria query object
    • currentDate

      public jakarta.persistence.criteria.Expression<Date> currentDate()
      Specified by:
      currentDate in interface jakarta.persistence.criteria.CriteriaBuilder
    • currentTime

      public jakarta.persistence.criteria.Expression<Time> currentTime()
      Specified by:
      currentTime in interface jakarta.persistence.criteria.CriteriaBuilder
    • currentTimestamp

      public jakarta.persistence.criteria.Expression<Timestamp> currentTimestamp()
      Specified by:
      currentTimestamp in interface jakarta.persistence.criteria.CriteriaBuilder
    • desc

      public jakarta.persistence.criteria.Order desc(jakarta.persistence.criteria.Expression<?> x)
      Specified by:
      desc in interface jakarta.persistence.criteria.CriteriaBuilder
    • diff

      public <N extends Number> jakarta.persistence.criteria.Expression<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

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

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

      public jakarta.persistence.criteria.Predicate disjunction()
      Specified by:
      disjunction in interface jakarta.persistence.criteria.CriteriaBuilder
    • equal

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

      public jakarta.persistence.criteria.Predicate equal(jakarta.persistence.criteria.Expression<?> x, Object y)
      Specified by:
      equal in interface jakarta.persistence.criteria.CriteriaBuilder
    • exists

      public jakarta.persistence.criteria.Predicate exists(jakarta.persistence.criteria.Subquery<?> subquery)
      Specified by:
      exists in interface jakarta.persistence.criteria.CriteriaBuilder
    • function

      public <T> jakarta.persistence.criteria.Expression<T> function(String name, Class<T> type, jakarta.persistence.criteria.Expression<?>... args)
      Specified by:
      function in interface jakarta.persistence.criteria.CriteriaBuilder
    • treat

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

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

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

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

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

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

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

      public jakarta.persistence.criteria.Predicate 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

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

      public <Y extends Comparable<? super Y>> jakarta.persistence.criteria.Predicate 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

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

      public <Y extends Comparable<? super Y>> jakarta.persistence.criteria.Predicate 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

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

      public <X extends Comparable<? super X>> jakarta.persistence.criteria.Expression<X> greatest(jakarta.persistence.criteria.Expression<X> x)
      Specified by:
      greatest in interface jakarta.persistence.criteria.CriteriaBuilder
    • gt

      public jakarta.persistence.criteria.Predicate 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

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

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

      public <C extends Collection<?>> jakarta.persistence.criteria.Predicate isEmpty(jakarta.persistence.criteria.Expression<C> collection)
      Specified by:
      isEmpty in interface jakarta.persistence.criteria.CriteriaBuilder
    • isFalse

      public jakarta.persistence.criteria.Predicate isFalse(jakarta.persistence.criteria.Expression<Boolean> x)
      Specified by:
      isFalse in interface jakarta.persistence.criteria.CriteriaBuilder
    • isMember

      public <E, C extends Collection<E>> jakarta.persistence.criteria.Predicate isMember(E e, jakarta.persistence.criteria.Expression<C> c)
      Specified by:
      isMember in interface jakarta.persistence.criteria.CriteriaBuilder
    • isMember

      public <E, C extends Collection<E>> jakarta.persistence.criteria.Predicate isMember(jakarta.persistence.criteria.Expression<E> e, jakarta.persistence.criteria.Expression<C> c)
      Specified by:
      isMember in interface jakarta.persistence.criteria.CriteriaBuilder
    • isNotEmpty

      public <C extends Collection<?>> jakarta.persistence.criteria.Predicate isNotEmpty(jakarta.persistence.criteria.Expression<C> collection)
      Specified by:
      isNotEmpty in interface jakarta.persistence.criteria.CriteriaBuilder
    • isNotMember

      public <E, C extends Collection<E>> jakarta.persistence.criteria.Predicate isNotMember(E e, jakarta.persistence.criteria.Expression<C> c)
      Specified by:
      isNotMember in interface jakarta.persistence.criteria.CriteriaBuilder
    • isNotMember

      public <E, C extends Collection<E>> jakarta.persistence.criteria.Predicate isNotMember(jakarta.persistence.criteria.Expression<E> e, jakarta.persistence.criteria.Expression<C> c)
      Specified by:
      isNotMember in interface jakarta.persistence.criteria.CriteriaBuilder
    • isTrue

      public jakarta.persistence.criteria.Predicate isTrue(jakarta.persistence.criteria.Expression<Boolean> x)
      Specified by:
      isTrue in interface jakarta.persistence.criteria.CriteriaBuilder
    • keys

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

      public jakarta.persistence.criteria.Predicate 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

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

      public <X extends Comparable<? super X>> jakarta.persistence.criteria.Expression<X> least(jakarta.persistence.criteria.Expression<X> x)
      Specified by:
      least in interface jakarta.persistence.criteria.CriteriaBuilder
    • length

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

      public <Y extends Comparable<? super Y>> jakarta.persistence.criteria.Predicate 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

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

      public <Y extends Comparable<? super Y>> jakarta.persistence.criteria.Predicate 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

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

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

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

      public jakarta.persistence.criteria.Predicate 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

      public jakarta.persistence.criteria.Predicate 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

      public jakarta.persistence.criteria.Predicate 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

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

      public <T> jakarta.persistence.criteria.Expression<T> literal(T value)
      Specified by:
      literal in interface jakarta.persistence.criteria.CriteriaBuilder
    • locate

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

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

      public jakarta.persistence.criteria.Expression<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

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

      public jakarta.persistence.criteria.Expression<String> lower(jakarta.persistence.criteria.Expression<String> x)
      Specified by:
      lower in interface jakarta.persistence.criteria.CriteriaBuilder
    • lt

      public jakarta.persistence.criteria.Predicate 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

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

      public <N extends Number> jakarta.persistence.criteria.Expression<N> max(jakarta.persistence.criteria.Expression<N> x)
      Specified by:
      max in interface jakarta.persistence.criteria.CriteriaBuilder
    • min

      public <N extends Number> jakarta.persistence.criteria.Expression<N> min(jakarta.persistence.criteria.Expression<N> x)
      Specified by:
      min in interface jakarta.persistence.criteria.CriteriaBuilder
    • mod

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

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

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

      public <N extends Number> jakarta.persistence.criteria.Expression<N> neg(jakarta.persistence.criteria.Expression<N> x)
      Specified by:
      neg in interface jakarta.persistence.criteria.CriteriaBuilder
    • not

      public jakarta.persistence.criteria.Predicate not(jakarta.persistence.criteria.Expression<Boolean> restriction)
      Specified by:
      not in interface jakarta.persistence.criteria.CriteriaBuilder
    • notEqual

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

      public jakarta.persistence.criteria.Predicate notEqual(jakarta.persistence.criteria.Expression<?> x, Object y)
      Specified by:
      notEqual in interface jakarta.persistence.criteria.CriteriaBuilder
    • notLike

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

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

      public jakarta.persistence.criteria.Predicate 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

      public jakarta.persistence.criteria.Predicate 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

      public jakarta.persistence.criteria.Predicate 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

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

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

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

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

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

      public <T> jakarta.persistence.criteria.ParameterExpression<T> parameter(Class<T> paramClass)
      Construct a ParameterExpression with a null name as key. The name of this parameter will be assigned automatically when this parameter expression is registered in a Criteriaquery during tree traversal.
      Specified by:
      parameter in interface jakarta.persistence.criteria.CriteriaBuilder
      See Also:
      • ParameterExpressionImpl#assignAutoName(String)
    • parameter

      public <T> jakarta.persistence.criteria.ParameterExpression<T> parameter(Class<T> paramClass, String name)
      Specified by:
      parameter in interface jakarta.persistence.criteria.CriteriaBuilder
    • prod

      public <N extends Number> jakarta.persistence.criteria.Expression<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

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

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

      public jakarta.persistence.criteria.Expression<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

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

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

      public <Y> jakarta.persistence.criteria.CompoundSelection<Y> construct(Class<Y> result, jakarta.persistence.criteria.Selection<?>... selections)
      Define a select list item corresponding to a constructor.
      Specified by:
      construct in interface jakarta.persistence.criteria.CriteriaBuilder
      Parameters:
      result - class whose instance is to be constructed
      selections - arguments to the constructor
      Returns:
      selection item
    • selectCase

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

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

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

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

      public <Y> jakarta.persistence.criteria.Expression<Y> some(jakarta.persistence.criteria.Subquery<Y> subquery)
      Specified by:
      some in interface jakarta.persistence.criteria.CriteriaBuilder
    • sqrt

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

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

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

      public jakarta.persistence.criteria.Expression<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

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

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

      public <N extends Number> jakarta.persistence.criteria.Expression<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

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

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

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

      public jakarta.persistence.criteria.Expression<Double> sumAsDouble(jakarta.persistence.criteria.Expression<Float> x)
      Specified by:
      sumAsDouble in interface jakarta.persistence.criteria.CriteriaBuilder
    • toBigDecimal

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

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

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

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

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

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

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

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

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

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

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

      public jakarta.persistence.criteria.Expression<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

      public jakarta.persistence.criteria.Expression<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
    • upper

      public jakarta.persistence.criteria.Expression<String> upper(jakarta.persistence.criteria.Expression<String> x)
      Specified by:
      upper in interface jakarta.persistence.criteria.CriteriaBuilder
    • values

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

      public jakarta.persistence.criteria.CompoundSelection<Object[]> array(jakarta.persistence.criteria.Selection<?>... terms)
      Specified by:
      array in interface jakarta.persistence.criteria.CriteriaBuilder
    • isNotNull

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

      public jakarta.persistence.criteria.Predicate isNull(jakarta.persistence.criteria.Expression<?> x)
      Specified by:
      isNull in interface jakarta.persistence.criteria.CriteriaBuilder
    • nullLiteral

      public <T> jakarta.persistence.criteria.Expression<T> nullLiteral(Class<T> t)
      Specified by:
      nullLiteral in interface jakarta.persistence.criteria.CriteriaBuilder
    • tuple

      public jakarta.persistence.criteria.CompoundSelection<jakarta.persistence.Tuple> tuple(jakarta.persistence.criteria.Selection<?>... selections)
      Define a tuple-valued selection item
      Specified by:
      tuple in interface jakarta.persistence.criteria.CriteriaBuilder
      Parameters:
      selections - selection items
      Returns:
      tuple-valued compound selection
      Throws:
      IllegalArgumentException - if an argument is a tuple- or array-valued selection item
    • qbe

      public <T> jakarta.persistence.criteria.Predicate qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style, jakarta.persistence.metamodel.Attribute<?,?>... excludes)
      Create a predicate based upon the attribute values of a given "example" entity instance. The predicate is the conjunction or disjunction of predicates for subset of attribute of the entity.
      By default, all the singular entity attributes (the basic, embedded and uni-cardinality relations) that have a non-null or non-default value for the example instance and are not an identity or version attribute are included. The comparable attributes can be further pruned by specifying variable list of attributes as the final argument.
      Specified by:
      qbe in interface OpenJPACriteriaBuilder
      Parameters:
      example - an instance of an entity class
      style - specifies various aspects of comparison such as whether non-null attribute values be included, how string-valued attribute be compared, whether the individual attribute based predicates are ANDed or ORed etc.
      excludes - list of attributes that are excluded from comparison.
      Returns:
      a predicate
    • qbe

      public <T> jakarta.persistence.criteria.Predicate qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style)
      Description copied from interface: OpenJPACriteriaBuilder
      Overloaded with no extra attribute to exclude.
      Specified by:
      qbe in interface OpenJPACriteriaBuilder
    • qbe

      public <T> jakarta.persistence.criteria.Predicate qbe(jakarta.persistence.criteria.From<?,T> from, T example, jakarta.persistence.metamodel.Attribute<?,?>... excludes)
      Description copied from interface: OpenJPACriteriaBuilder
      Overloaded with default comparison style.
      Specified by:
      qbe in interface OpenJPACriteriaBuilder
    • qbe

      public <T> jakarta.persistence.criteria.Predicate qbe(jakarta.persistence.criteria.From<?,T> from, T example)
      Description copied from interface: OpenJPACriteriaBuilder
      Overloaded with default comparison style and no extra attribute to exclude.
      Specified by:
      qbe in interface OpenJPACriteriaBuilder
    • qbeStyle

      public ComparisonStyle qbeStyle()
      Create a style to tune different aspects of comparison by example.
      Specified by:
      qbeStyle in interface OpenJPACriteriaBuilder