Interface SourcePersistentEntityCriteriaBuilder

All Superinterfaces:
jakarta.persistence.criteria.CriteriaBuilder, PersistentEntityCriteriaBuilder
All Known Implementing Classes:
MethodMatchSourcePersistentEntityCriteriaBuilderImpl, SourcePersistentEntityCriteriaBuilderImpl

public interface SourcePersistentEntityCriteriaBuilder extends PersistentEntityCriteriaBuilder
The source persistent entity extension of PersistentEntityCriteriaBuilder.
Since:
3.2
Author:
Denis Stepanov
  • 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
    <T> @NonNull jakarta.persistence.criteria.ParameterExpression<T>
    entityPropertyParameter(@NonNull io.micronaut.inject.ast.ParameterElement entityParameter)
    Create parameter expression from ParameterElement that is representing an entity instance.
    <T> @NonNull jakarta.persistence.criteria.ParameterExpression<T>
    expression(@NonNull PersistentProperty property, @NonNull String expression)
    Create parameter expression from ParameterElement.
    <T> @NonNull jakarta.persistence.criteria.ParameterExpression<T>
    parameter(@NonNull io.micronaut.inject.ast.ParameterElement parameterElement)
    Create parameter expression from ParameterElement.

    Methods inherited from interface jakarta.persistence.criteria.CriteriaBuilder

    abs, all, and, and, any, array, asc, avg, between, between, ceiling, coalesce, coalesce, coalesce, concat, concat, concat, conjunction, construct, count, countDistinct, currentDate, currentTime, currentTimestamp, desc, diff, diff, diff, disjunction, equal, equal, exists, exp, floor, 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, ln, localDate, localDateTime, localTime, 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, power, power, prod, prod, prod, quot, quot, quot, round, selectCase, selectCase, sign, 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

    • expression

      @NonNull <T> @NonNull jakarta.persistence.criteria.ParameterExpression<T> expression(@NonNull @NonNull PersistentProperty property, @NonNull @NonNull String expression)
      Create parameter expression from ParameterElement.
      Type Parameters:
      T - The expression type
      Parameters:
      property - The property
      expression - The expression
      Returns:
      new parameter
    • parameter

      @NonNull <T> @NonNull jakarta.persistence.criteria.ParameterExpression<T> parameter(@NonNull @NonNull io.micronaut.inject.ast.ParameterElement parameterElement)
      Create parameter expression from ParameterElement.
      Type Parameters:
      T - The expression type
      Parameters:
      parameterElement - The parameter element
      Returns:
      new parameter
    • entityPropertyParameter

      @NonNull <T> @NonNull jakarta.persistence.criteria.ParameterExpression<T> entityPropertyParameter(@NonNull @NonNull io.micronaut.inject.ast.ParameterElement entityParameter)
      Create parameter expression from ParameterElement that is representing an entity instance.
      Type Parameters:
      T - The expression type
      Parameters:
      entityParameter - The entity parameter element
      Returns:
      new parameter