Package org.hibernate.query.sqm.tree.expression
package org.hibernate.query.sqm.tree.expression
Nodes representing expressions in the SQM tree.
-
ClassDescriptionCommon support for SqmParameter implsA conversion of a duration to a given temporal unit, as a result of applying the 'by unit' operator.
JpaParameterExpression
created via JPACriteriaBuilder
.A SQM aggregate function.Models a reference to aSqmAliasedNode
used in the order-by or group-by clause by either position or alias, though the reference is normalized here to a positional refSqmAny<T>SqmCaseSimple<T,R> SqmCoalesce<T>Represents theSIZE()
function.SqmDistinct<T>SqmEnumLiteral<E extends Enum<E>>Specialized SQM literal defined by an enum reference.SqmEvery<T>The base contract for any kind of expression node in the SQM tree.Effectively a query-literal but we want to handle it specially in the SQM to SQL AST conversionSqmFunction<T>A SQM functionSqmHqlNumericLiteral<N extends Number>Used to model numeric literals found in HQL queries.Acts as the per-use wrapper for a JpaCriteriaParameter (CriteriaBuilder.parameter(java.lang.Class<T>)
).SqmLiteral<T>Represents a literal value in the sqm, e.g. 1 'some string' some.JavaClass.CONSTANT some.JavaEnum.VALUE etcRepresents a reference to an embeddable type as a literal.Represents a reference to an entity type as a literal.Represents aSqmModifiedSubQueryExpression.Modifier.ALL
,SqmModifiedSubQueryExpression.Modifier.ANY
,SqmModifiedSubQueryExpression.Modifier.SOME
modifier applied to a subquery as part of a comparison.Represents a named query parameter in the SQM tree.A SQM ordered set-aggregate function.SqmOver<T>SqmOverflow<T>SqmParameter<T>Models a parameter expression declared in the query.Entity type expression based on a parameter - `TYPE( :someParam )`Models a positional parameter expressionNeeded to pass TrimSpecification as an SqmExpression when we call out to SqmFunctionTemplates handling TRIM calls as a function argument.SqmTuple<T>A tuple constructor, that is, a list of expressions wrapped in parentheses, for example,(x, y, z)
.A SQM window function.It is a JpaCriteriaParameter created from a value when ValueHandlingMode is equal to BIND