Class SqlSelectionExpression
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.SqlSelectionExpression
-
- All Implemented Interfaces:
SqlSelectionProducer
,Expression
,SqlAstNode
public class SqlSelectionExpression extends Object implements Expression
Represents a selection that is "re-used" in certain parts of the query other than the select-clause (mainly important for order-by, group-by and having). Allows usage of the selection position within the select-clause in that other part of the query rather than the full expression
-
-
Constructor Summary
Constructors Constructor Description SqlSelectionExpression(SqlSelection theSelection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
ColumnReference
getColumnReference()
JdbcMappingContainer
getExpressionType()
The type for this expressionSqlSelection
getSelection()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection
-
-
-
-
Constructor Detail
-
SqlSelectionExpression
public SqlSelectionExpression(SqlSelection theSelection)
-
-
Method Detail
-
getSelection
public SqlSelection getSelection()
-
getColumnReference
public ColumnReference getColumnReference()
- Specified by:
getColumnReference
in interfaceExpression
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
-