Class SqmAliasedNodeRef
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<Integer>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<Integer>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<Integer>
org.hibernate.query.sqm.tree.expression.SqmAliasedNodeRef
- All Implemented Interfaces:
Expression<Integer>, Selection<Integer>, TupleElement<Integer>, Serializable, JpaCriteriaNode, JpaExpression<Integer>, JpaSelection<Integer>, JpaTupleElement<Integer>, SqmExpression<Integer>, SqmSelectableNode<Integer>, SqmCacheable, SqmExpressibleAccessor<Integer>, SqmNode, SqmTypedNode<Integer>, SqmVisitableNode
Models a reference to a
SqmAliasedNode
used in the order-by or group-by clause by either position or alias,
though the reference is normalized here to a positional ref- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmAliasedNodeRef(int position, SqmBindableType<Integer> intType, NodeBuilder criteriaBuilder) SqmAliasedNodeRef(int position, NavigablePath navigablePath, SqmBindableType<Integer> type, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) boolean@Nullable NavigablePathintinthashCode()booleanisCompatible(Object object) Methods inherited from class AbstractSqmExpression
applyInferableType, as, cast, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, getNodeType, visitSubSelectableNodesMethods inherited from interface SqmNode
asLoggableTextMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmAliasedNodeRef
public SqmAliasedNodeRef(int position, SqmBindableType<Integer> intType, NodeBuilder criteriaBuilder)
-
-
Method Details
-
copy
-
getPosition
public int getPosition() -
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation -
appendHqlString
-
equals
-
hashCode
-
isCompatible
-
cacheHashCode
public int cacheHashCode()
-