Class CriteriaBuilderImpl

    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <N extends java.lang.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<java.lang.Boolean> x, jakarta.persistence.criteria.Expression<java.lang.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<java.lang.Object[]> array​(jakarta.persistence.criteria.Selection<?>... terms)  
      jakarta.persistence.criteria.Order asc​(jakarta.persistence.criteria.Expression<?> x)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<java.lang.Double>
      avg​(jakarta.persistence.criteria.Expression<N> x)  
      <Y extends java.lang.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 java.lang.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> coalesce()  
      <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<java.lang.String> concat​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> y)  
      jakarta.persistence.criteria.Expression<java.lang.String> concat​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String y)  
      jakarta.persistence.criteria.Expression<java.lang.String> concat​(java.lang.String x, jakarta.persistence.criteria.Expression<java.lang.String> y)  
      jakarta.persistence.criteria.Predicate conjunction()  
      <Y> jakarta.persistence.criteria.CompoundSelection<Y> construct​(java.lang.Class<Y> result, jakarta.persistence.criteria.Selection<?>... selections)
      Define a select list item corresponding to a constructor.
      jakarta.persistence.criteria.Expression<java.lang.Long> count​(jakarta.persistence.criteria.Expression<?> x)  
      jakarta.persistence.criteria.Expression<java.lang.Long> countDistinct​(jakarta.persistence.criteria.Expression<?> x)  
      <T> jakarta.persistence.criteria.CriteriaDelete<T> createCriteriaDelete​(java.lang.Class<T> targetEntity)  
      <T> jakarta.persistence.criteria.CriteriaUpdate<T> createCriteriaUpdate​(java.lang.Class<T> targetEntity)  
      OpenJPACriteriaQuery<java.lang.Object> createQuery()
      Create a CriteriaQuery object.
      <T> OpenJPACriteriaQuery<T> createQuery​(java.lang.Class<T> resultClass)
      Create a Criteria query object with the specified result type.
      OpenJPACriteriaQuery<jakarta.persistence.Tuple> createTupleQuery()
      Create a Criteria query object that returns a tuple of objects as its result.
      jakarta.persistence.criteria.Expression<java.sql.Date> currentDate()  
      jakarta.persistence.criteria.Expression<java.sql.Time> currentTime()  
      jakarta.persistence.criteria.Expression<java.sql.Timestamp> currentTimestamp()  
      jakarta.persistence.criteria.Order desc​(jakarta.persistence.criteria.Expression<?> x)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      diff​(jakarta.persistence.criteria.Expression<? extends N> x, jakarta.persistence.criteria.Expression<? extends N> y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      diff​(jakarta.persistence.criteria.Expression<? extends N> x, N y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      diff​(N x, jakarta.persistence.criteria.Expression<? extends N> y)  
      jakarta.persistence.criteria.Predicate disjunction()  
      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, java.lang.Object y)  
      QueryExpressions eval​(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
      Parse the given query string.
      Value[] eval​(java.lang.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​(java.lang.String name, java.lang.Class<T> type, jakarta.persistence.criteria.Expression<?>... args)  
      jakarta.persistence.criteria.Predicate ge​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)  
      jakarta.persistence.criteria.Predicate ge​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, java.lang.Number y)  
      java.lang.String getLanguage()
      Return a string key describing the language that this instance parses.
      jakarta.persistence.metamodel.Metamodel getMetamodel()
      Gets the metamodel for the managed, persistent domain entities.
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      greaterThan​(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)  
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      greaterThan​(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)  
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      greaterThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)  
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      greaterThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)  
      <X extends java.lang.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 java.lang.Number> x, jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)  
      jakarta.persistence.criteria.Predicate gt​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, java.lang.Number y)  
      <T> jakarta.persistence.criteria.CriteriaBuilder.In<T> in​(jakarta.persistence.criteria.Expression<? extends T> expression)  
      <C extends java.util.Collection<?>>
      jakarta.persistence.criteria.Predicate
      isEmpty​(jakarta.persistence.criteria.Expression<C> collection)  
      jakarta.persistence.criteria.Predicate isFalse​(jakarta.persistence.criteria.Expression<java.lang.Boolean> x)  
      <E,​C extends java.util.Collection<E>>
      jakarta.persistence.criteria.Predicate
      isMember​(E e, jakarta.persistence.criteria.Expression<C> c)  
      <E,​C extends java.util.Collection<E>>
      jakarta.persistence.criteria.Predicate
      isMember​(jakarta.persistence.criteria.Expression<E> e, jakarta.persistence.criteria.Expression<C> c)  
      <C extends java.util.Collection<?>>
      jakarta.persistence.criteria.Predicate
      isNotEmpty​(jakarta.persistence.criteria.Expression<C> collection)  
      <E,​C extends java.util.Collection<E>>
      jakarta.persistence.criteria.Predicate
      isNotMember​(E e, jakarta.persistence.criteria.Expression<C> c)  
      <E,​C extends java.util.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<java.lang.Boolean> x)  
      <K,​M extends java.util.Map<K,​?>>
      jakarta.persistence.criteria.Expression<java.util.Set<K>>
      keys​(M map)  
      jakarta.persistence.criteria.Predicate le​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)  
      jakarta.persistence.criteria.Predicate le​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, java.lang.Number y)  
      <X extends java.lang.Comparable<? super X>>
      jakarta.persistence.criteria.Expression<X>
      least​(jakarta.persistence.criteria.Expression<X> x)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> length​(jakarta.persistence.criteria.Expression<java.lang.String> x)  
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      lessThan​(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)  
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      lessThan​(jakarta.persistence.criteria.Expression<? extends Y> x, Y y)  
      <Y extends java.lang.Comparable<? super Y>>
      jakarta.persistence.criteria.Predicate
      lessThanOrEqualTo​(jakarta.persistence.criteria.Expression<? extends Y> x, jakarta.persistence.criteria.Expression<? extends Y> y)  
      <Y extends java.lang.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<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern)  
      jakarta.persistence.criteria.Predicate like​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern, char escapeChar)  
      jakarta.persistence.criteria.Predicate like​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern, jakarta.persistence.criteria.Expression<java.lang.Character> escapeChar)  
      jakarta.persistence.criteria.Predicate like​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern)  
      jakarta.persistence.criteria.Predicate like​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern, char escapeChar)  
      jakarta.persistence.criteria.Predicate like​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern, jakarta.persistence.criteria.Expression<java.lang.Character> escapeChar)  
      <T> jakarta.persistence.criteria.Expression<T> literal​(T value)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> locate​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> locate​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern, jakarta.persistence.criteria.Expression<java.lang.Integer> from)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> locate​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> locate​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern, int from)  
      jakarta.persistence.criteria.Expression<java.lang.String> lower​(jakarta.persistence.criteria.Expression<java.lang.String> x)  
      jakarta.persistence.criteria.Predicate lt​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)  
      jakarta.persistence.criteria.Predicate lt​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, java.lang.Number y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      max​(jakarta.persistence.criteria.Expression<N> x)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      min​(jakarta.persistence.criteria.Expression<N> x)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> mod​(jakarta.persistence.criteria.Expression<java.lang.Integer> x, jakarta.persistence.criteria.Expression<java.lang.Integer> y)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> mod​(jakarta.persistence.criteria.Expression<java.lang.Integer> x, java.lang.Integer y)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> mod​(java.lang.Integer x, jakarta.persistence.criteria.Expression<java.lang.Integer> y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      neg​(jakarta.persistence.criteria.Expression<N> x)  
      jakarta.persistence.criteria.Predicate not​(jakarta.persistence.criteria.Expression<java.lang.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, java.lang.Object y)  
      jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern)  
      jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern, char escapeChar)  
      jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.String> pattern, jakarta.persistence.criteria.Expression<java.lang.Character> escapeChar)  
      jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern)  
      jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern, char escapeChar)  
      jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x, java.lang.String pattern, jakarta.persistence.criteria.Expression<java.lang.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> nullLiteral​(java.lang.Class<T> t)  
      jakarta.persistence.criteria.Predicate or​(jakarta.persistence.criteria.Expression<java.lang.Boolean> x, jakarta.persistence.criteria.Expression<java.lang.Boolean> y)  
      jakarta.persistence.criteria.Predicate or​(jakarta.persistence.criteria.Predicate... restrictions)  
      <T> jakarta.persistence.criteria.ParameterExpression<T> parameter​(java.lang.Class<T> paramClass)
      Construct a ParameterExpression with a null name as key.
      <T> jakarta.persistence.criteria.ParameterExpression<T> parameter​(java.lang.Class<T> paramClass, java.lang.String name)  
      java.lang.Object parse​(java.lang.String ql, ExpressionStoreQuery query)
      Return a parsed intermediate form of the given query string.
      void populate​(java.lang.Object parsed, ExpressionStoreQuery query)
      Use the parsed query form to set information such as candidate type, result type, etc that was encoded in the query string.
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      prod​(jakarta.persistence.criteria.Expression<? extends N> x, jakarta.persistence.criteria.Expression<? extends N> y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      prod​(jakarta.persistence.criteria.Expression<? extends N> x, N y)  
      <N extends java.lang.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.
      ComparisonStyle qbeStyle()
      Create a style to tune different aspects of comparison by example.
      jakarta.persistence.criteria.Expression<java.lang.Number> quot​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)  
      jakarta.persistence.criteria.Expression<java.lang.Number> quot​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x, java.lang.Number y)  
      jakarta.persistence.criteria.Expression<java.lang.Number> quot​(java.lang.Number x, jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)  
      <R> jakarta.persistence.criteria.CriteriaBuilder.Case<R> selectCase()  
      <C,​R>
      jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>
      selectCase​(jakarta.persistence.criteria.Expression<? extends C> expression)  
      OpenJPACriteriaBuilder setMetaModel​(MetamodelImpl model)  
      <C extends java.util.Collection<?>>
      jakarta.persistence.criteria.Expression<java.lang.Integer>
      size​(C collection)  
      <C extends java.util.Collection<?>>
      jakarta.persistence.criteria.Expression<java.lang.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<java.lang.Double> sqrt​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x)  
      jakarta.persistence.criteria.Expression<java.lang.String> substring​(jakarta.persistence.criteria.Expression<java.lang.String> x, int from)  
      jakarta.persistence.criteria.Expression<java.lang.String> substring​(jakarta.persistence.criteria.Expression<java.lang.String> x, int from, int len)  
      jakarta.persistence.criteria.Expression<java.lang.String> substring​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.Integer> from)  
      jakarta.persistence.criteria.Expression<java.lang.String> substring​(jakarta.persistence.criteria.Expression<java.lang.String> x, jakarta.persistence.criteria.Expression<java.lang.Integer> from, jakarta.persistence.criteria.Expression<java.lang.Integer> len)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      sum​(jakarta.persistence.criteria.Expression<? extends N> x, jakarta.persistence.criteria.Expression<? extends N> y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      sum​(jakarta.persistence.criteria.Expression<? extends N> x, N y)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      sum​(jakarta.persistence.criteria.Expression<N> x)  
      <N extends java.lang.Number>
      jakarta.persistence.criteria.Expression<N>
      sum​(N x, jakarta.persistence.criteria.Expression<? extends N> y)  
      jakarta.persistence.criteria.Expression<java.lang.Double> sumAsDouble​(jakarta.persistence.criteria.Expression<java.lang.Float> x)  
      jakarta.persistence.criteria.Expression<java.lang.Long> sumAsLong​(jakarta.persistence.criteria.Expression<java.lang.Integer> x)  
      jakarta.persistence.criteria.Expression<java.math.BigDecimal> toBigDecimal​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> number)  
      jakarta.persistence.criteria.Expression<java.math.BigInteger> toBigInteger​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> number)  
      jakarta.persistence.criteria.Expression<java.lang.Double> toDouble​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> number)  
      jakarta.persistence.criteria.Expression<java.lang.Float> toFloat​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> number)  
      jakarta.persistence.criteria.Expression<java.lang.Integer> toInteger​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> number)  
      jakarta.persistence.criteria.Expression<java.lang.Long> toLong​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> number)  
      jakarta.persistence.criteria.Expression<java.lang.String> toString​(jakarta.persistence.criteria.Expression<java.lang.Character> character)  
      <X,​T,​E extends T>
      jakarta.persistence.criteria.CollectionJoin<X,​E>
      treat​(jakarta.persistence.criteria.CollectionJoin<X,​T> join, java.lang.Class<E> type)  
      <X,​T,​V extends T>
      jakarta.persistence.criteria.Join<X,​V>
      treat​(jakarta.persistence.criteria.Join<X,​T> join, java.lang.Class<V> type)  
      <X,​T,​E extends T>
      jakarta.persistence.criteria.ListJoin<X,​E>
      treat​(jakarta.persistence.criteria.ListJoin<X,​T> join, java.lang.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, java.lang.Class<V> type)  
      <X,​T extends X>
      jakarta.persistence.criteria.Path<T>
      treat​(jakarta.persistence.criteria.Path<X> path, java.lang.Class<T> type)  
      <X,​T extends X>
      jakarta.persistence.criteria.Root<T>
      treat​(jakarta.persistence.criteria.Root<X> root, java.lang.Class<T> type)  
      <X,​T,​E extends T>
      jakarta.persistence.criteria.SetJoin<X,​E>
      treat​(jakarta.persistence.criteria.SetJoin<X,​T> join, java.lang.Class<E> type)  
      jakarta.persistence.criteria.Expression<java.lang.String> trim​(char t, jakarta.persistence.criteria.Expression<java.lang.String> x)  
      jakarta.persistence.criteria.Expression<java.lang.String> trim​(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts, char t, jakarta.persistence.criteria.Expression<java.lang.String> x)  
      jakarta.persistence.criteria.Expression<java.lang.String> trim​(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts, jakarta.persistence.criteria.Expression<java.lang.Character> t, jakarta.persistence.criteria.Expression<java.lang.String> x)  
      jakarta.persistence.criteria.Expression<java.lang.String> trim​(jakarta.persistence.criteria.CriteriaBuilder.Trimspec ts, jakarta.persistence.criteria.Expression<java.lang.String> x)  
      jakarta.persistence.criteria.Expression<java.lang.String> trim​(jakarta.persistence.criteria.Expression<java.lang.Character> t, jakarta.persistence.criteria.Expression<java.lang.String> x)  
      jakarta.persistence.criteria.Expression<java.lang.String> trim​(jakarta.persistence.criteria.Expression<java.lang.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<java.lang.String> upper​(jakarta.persistence.criteria.Expression<java.lang.String> x)  
      <V,​M extends java.util.Map<?,​V>>
      jakarta.persistence.criteria.Expression<java.util.Collection<V>>
      values​(M map)  
      • Methods inherited from class java.lang.Object

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

      • CriteriaBuilderImpl

        public CriteriaBuilderImpl()
    • Method Detail

      • getLanguage

        public java.lang.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​(java.lang.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​(java.lang.Class<T> targetEntity)
        Specified by:
        createCriteriaUpdate in interface jakarta.persistence.criteria.CriteriaBuilder
      • createCriteriaDelete

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

        public void populate​(java.lang.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 java.lang.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<java.lang.Boolean> x,
                                                          jakarta.persistence.criteria.Expression<java.lang.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 java.lang.Number> jakarta.persistence.criteria.Expression<java.lang.Double> avg​(jakarta.persistence.criteria.Expression<N> x)
        Specified by:
        avg in interface jakarta.persistence.criteria.CriteriaBuilder
      • between

        public <Y extends java.lang.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 java.lang.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<java.lang.String> concat​(jakarta.persistence.criteria.Expression<java.lang.String> x,
                                                                                jakarta.persistence.criteria.Expression<java.lang.String> y)
        Specified by:
        concat in interface jakarta.persistence.criteria.CriteriaBuilder
      • concat

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

        public jakarta.persistence.criteria.Expression<java.lang.String> concat​(java.lang.String x,
                                                                                jakarta.persistence.criteria.Expression<java.lang.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<java.lang.Long> count​(jakarta.persistence.criteria.Expression<?> x)
        Specified by:
        count in interface jakarta.persistence.criteria.CriteriaBuilder
      • countDistinct

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

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

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

        public jakarta.persistence.criteria.Expression<java.sql.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 java.lang.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 java.lang.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 java.lang.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,
                                                            java.lang.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​(java.lang.String name,
                                                                       java.lang.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,
                                                                                                java.lang.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,
                                                                                                          java.lang.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,
                                                                                                   java.lang.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,
                                                                                                    java.lang.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,
                                                                                                                   java.lang.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,
                                                                                java.lang.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,
                                                                                java.lang.Class<T> type)
        Specified by:
        treat in interface jakarta.persistence.criteria.CriteriaBuilder
      • ge

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

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

        public <Y extends java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.Number> x,
                                                         jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)
        Specified by:
        gt in interface jakarta.persistence.criteria.CriteriaBuilder
      • gt

        public jakarta.persistence.criteria.Predicate gt​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x,
                                                         java.lang.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 java.util.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<java.lang.Boolean> x)
        Specified by:
        isFalse in interface jakarta.persistence.criteria.CriteriaBuilder
      • isMember

        public <E,​C extends java.util.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 java.util.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 java.util.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 java.util.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 java.util.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<java.lang.Boolean> x)
        Specified by:
        isTrue in interface jakarta.persistence.criteria.CriteriaBuilder
      • keys

        public <K,​M extends java.util.Map<K,​?>> jakarta.persistence.criteria.Expression<java.util.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 java.lang.Number> x,
                                                         jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)
        Specified by:
        le in interface jakarta.persistence.criteria.CriteriaBuilder
      • le

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

        public <X extends java.lang.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<java.lang.Integer> length​(jakarta.persistence.criteria.Expression<java.lang.String> x)
        Specified by:
        length in interface jakarta.persistence.criteria.CriteriaBuilder
      • lessThan

        public <Y extends java.lang.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 java.lang.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 java.lang.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 java.lang.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<java.lang.String> x,
                                                           jakarta.persistence.criteria.Expression<java.lang.String> pattern)
        Specified by:
        like in interface jakarta.persistence.criteria.CriteriaBuilder
      • like

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

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

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

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

        public jakarta.persistence.criteria.Predicate like​(jakarta.persistence.criteria.Expression<java.lang.String> x,
                                                           java.lang.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<java.lang.Integer> locate​(jakarta.persistence.criteria.Expression<java.lang.String> x,
                                                                                 jakarta.persistence.criteria.Expression<java.lang.String> pattern)
        Specified by:
        locate in interface jakarta.persistence.criteria.CriteriaBuilder
      • locate

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

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

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

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

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

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

        public <N extends java.lang.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 java.lang.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<java.lang.Integer> mod​(jakarta.persistence.criteria.Expression<java.lang.Integer> x,
                                                                              jakarta.persistence.criteria.Expression<java.lang.Integer> y)
        Specified by:
        mod in interface jakarta.persistence.criteria.CriteriaBuilder
      • mod

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

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

        public <N extends java.lang.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<java.lang.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,
                                                               java.lang.Object y)
        Specified by:
        notEqual in interface jakarta.persistence.criteria.CriteriaBuilder
      • notLike

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

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

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

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

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

        public jakarta.persistence.criteria.Predicate notLike​(jakarta.persistence.criteria.Expression<java.lang.String> x,
                                                              java.lang.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<java.lang.Boolean> x,
                                                         jakarta.persistence.criteria.Expression<java.lang.Boolean> y)
        Specified by:
        or in interface jakarta.persistence.criteria.CriteriaBuilder
      • parameter

        public <T> jakarta.persistence.criteria.ParameterExpression<T> parameter​(java.lang.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​(java.lang.Class<T> paramClass,
                                                                                 java.lang.String name)
        Specified by:
        parameter in interface jakarta.persistence.criteria.CriteriaBuilder
      • prod

        public <N extends java.lang.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 java.lang.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 java.lang.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<java.lang.Number> quot​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x,
                                                                              jakarta.persistence.criteria.Expression<? extends java.lang.Number> y)
        Specified by:
        quot in interface jakarta.persistence.criteria.CriteriaBuilder
      • quot

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

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

        public <Y> jakarta.persistence.criteria.CompoundSelection<Y> construct​(java.lang.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 java.util.Collection<?>> jakarta.persistence.criteria.Expression<java.lang.Integer> size​(C collection)
        Specified by:
        size in interface jakarta.persistence.criteria.CriteriaBuilder
      • size

        public <C extends java.util.Collection<?>> jakarta.persistence.criteria.Expression<java.lang.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<java.lang.Double> sqrt​(jakarta.persistence.criteria.Expression<? extends java.lang.Number> x)
        Specified by:
        sqrt in interface jakarta.persistence.criteria.CriteriaBuilder
      • substring

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

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

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

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

        public <N extends java.lang.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 java.lang.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 java.lang.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 java.lang.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<java.lang.Long> sumAsLong​(jakarta.persistence.criteria.Expression<java.lang.Integer> x)
        Specified by:
        sumAsLong in interface jakarta.persistence.criteria.CriteriaBuilder
      • sumAsDouble

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public jakarta.persistence.criteria.CompoundSelection<java.lang.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​(java.lang.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:
        java.lang.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