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> X
accept(SemanticQueryWalker<X> walker)
Accept the walker per visitationvoid
appendHqlString(StringBuilder sb)
SqmSelection<T>
copy(SqmCopyContext context)
String
getAlias()
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
getNodeType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, 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:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmTypedNode<T>
-
getSelectableNode
public SqmSelectableNode<T> getSelectableNode()
- Specified by:
getSelectableNode
in interfaceSqmAliasedNode<T>
-
getAlias
public String getAlias()
- Specified by:
getAlias
in interfaceSqmAliasedNode<T>
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
-