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>,SqmExpressibleAccessor<T>,SqmNode,SqmTypedNode<T>,SqmVisitableNode
public class SqmSelection<T> extends AbstractSqmNode implements SqmAliasedNode<T>
Represents an individual selection within a select clause.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmSelection(SqmSelectableNode<T> selectableNode, String alias, NodeBuilder nodeBuilder)SqmSelection(SqmSelectableNode<T> selectableNode, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> Xaccept(SemanticQueryWalker<X> walker)Accept the walker per visitationvoidappendHqlString(StringBuilder sb)SqmSelection<T>copy(SqmCopyContext context)StringgetAlias()SqmSelectableNode<T>getSelectableNode()-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmAliasedNode
getExpressible, getNodeType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
-
-
-
Constructor Detail
-
SqmSelection
public SqmSelection(SqmSelectableNode<T> selectableNode, NodeBuilder nodeBuilder)
-
SqmSelection
public SqmSelection(SqmSelectableNode<T> selectableNode, String alias, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmSelection<T> copy(SqmCopyContext context)
- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmTypedNode<T>
-
getSelectableNode
public SqmSelectableNode<T> getSelectableNode()
- Specified by:
getSelectableNodein interfaceSqmAliasedNode<T>
-
getAlias
public String getAlias()
- Specified by:
getAliasin interfaceSqmAliasedNode<T>
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
-