Interface JpaCriteriaBuilder

All Superinterfaces:
jakarta.persistence.criteria.CriteriaBuilder

public interface JpaCriteriaBuilder extends jakarta.persistence.criteria.CriteriaBuilder
PUBLIC: EclipseLInk specific JPA Criteria interface. Provides the functionality defined in jakarta.persistence.criteria.CriteriaBuilder and adds EclipseLink specific functionality.
  • 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
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.persistence.criteria.Expression
    ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object.
    <T> jakarta.persistence.criteria.Expression<T>
    fromExpression(Expression expression, Class<T> type)
    ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object.
    toExpression(jakarta.persistence.criteria.Expression expression)
    ADVANCED: Allow a Criteria Expression to be converted to a EclipseLink native API Expression object.

    Methods inherited from interface jakarta.persistence.criteria.CriteriaBuilder

    abs, all, and, and, any, array, asc, avg, between, between, coalesce, coalesce, coalesce, concat, concat, concat, conjunction, construct, count, countDistinct, createCriteriaDelete, createCriteriaUpdate, createQuery, createQuery, createTupleQuery, currentDate, currentTime, currentTimestamp, desc, diff, diff, diff, disjunction, equal, equal, exists, function, ge, ge, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greatest, gt, gt, in, isEmpty, isFalse, isMember, isMember, isNotEmpty, isNotMember, isNotMember, isNotNull, isNull, isTrue, keys, le, le, least, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, like, like, like, like, like, like, literal, locate, locate, locate, locate, lower, lt, lt, max, min, mod, mod, mod, neg, not, notEqual, notEqual, notLike, notLike, notLike, notLike, notLike, notLike, nullif, nullif, nullLiteral, or, or, parameter, parameter, prod, prod, prod, quot, quot, quot, selectCase, selectCase, size, size, some, sqrt, substring, substring, substring, substring, sum, sum, sum, sum, sumAsDouble, sumAsLong, toBigDecimal, toBigInteger, toDouble, toFloat, toInteger, toLong, toString, treat, treat, treat, treat, treat, treat, treat, trim, trim, trim, trim, trim, trim, tuple, upper, values
  • Method Details

    • fromExpression

      <T> jakarta.persistence.criteria.Expression<T> fromExpression(Expression expression, Class<T> type)
      ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object. This allows for an extended functionality supported in EclipseLink Expressions to be used in Criteria.
    • fromExpression

      jakarta.persistence.criteria.Expression fromExpression(Expression expression)
      ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object. This allows for an extended functionality supported in EclipseLink Expressions to be used in Criteria.
    • toExpression

      Expression toExpression(jakarta.persistence.criteria.Expression expression)
      ADVANCED: Allow a Criteria Expression to be converted to a EclipseLink native API Expression object. This allows for roots and paths defined in the Criteria to be used with EclipseLink native API Expresions.