Class SqmSelection<T>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.select.SqmSelection<T>
- All Implemented Interfaces:
Serializable, JpaCriteriaNode, SqmAliasedNode<T>, SqmCacheable, SqmExpressibleAccessor<T>, SqmNode, SqmTypedNode<T>, SqmVisitableNode
Represents an individual selection within a select clause.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmSelection(SqmSelectableNode<T> selectableNode, @Nullable String alias, NodeBuilder nodeBuilder) SqmSelection(SqmSelectableNode<T> selectableNode, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) boolean@Nullable StringgetAlias()The Java type descriptor for this node.inthashCode()booleanisCompatible(Object object) Methods inherited from class AbstractSqmNode
nodeBuilderMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SqmAliasedNode
getExpressible, getNodeTypeMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmVisitableNode
toHqlString
-
Constructor Details
-
SqmSelection
-
SqmSelection
public SqmSelection(SqmSelectableNode<T> selectableNode, @Nullable String alias, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmTypedNode<T>
-
getSelectableNode
- Specified by:
getSelectableNodein interfaceSqmAliasedNode<T>
-
getNodeJavaType
Description copied from interface:SqmTypedNodeThe Java type descriptor for this node.- Specified by:
getNodeJavaTypein interfaceSqmExpressibleAccessor<T>- Specified by:
getNodeJavaTypein interfaceSqmTypedNode<T>
-
getAlias
- Specified by:
getAliasin interfaceSqmAliasedNode<T>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
equals
-
hashCode
-
isCompatible
- Specified by:
isCompatiblein interfaceSqmCacheable
-
cacheHashCode
public int cacheHashCode()- Specified by:
cacheHashCodein interfaceSqmCacheable
-