Class NestedColumnReference
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.ColumnReference
-
- org.hibernate.sql.ast.tree.expression.NestedColumnReference
-
- All Implemented Interfaces:
SqlSelectionProducer
,Expression
,SqlAstNode
,Assignable
public class NestedColumnReference extends ColumnReference
Model a column which is relative to a base expression e.g.array[1].columnName
. This is needed to model column references within e.g. arrays.
-
-
Constructor Summary
Constructors Constructor Description NestedColumnReference(EmbeddableFunctionTableReference tableReference, SelectableMapping selectableMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
Expression
getBaseExpression()
String
getReadExpression()
-
Methods inherited from class org.hibernate.sql.ast.tree.expression.ColumnReference
appendColumnForWrite, appendColumnForWrite, appendReadExpression, appendReadExpression, appendReadExpression, equals, getColumnExpression, getColumnReference, getColumnReferences, getExpressionText, getExpressionType, getJdbcMapping, getQualifier, getSelectableName, getSelectablePath, hashCode, isColumnExpressionFormula, toString, visitColumnReferences
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection
-
-
-
-
Constructor Detail
-
NestedColumnReference
public NestedColumnReference(EmbeddableFunctionTableReference tableReference, SelectableMapping selectableMapping)
-
-
Method Detail
-
getBaseExpression
public Expression getBaseExpression()
-
getReadExpression
public String getReadExpression()
- Overrides:
getReadExpression
in classColumnReference
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
- Overrides:
accept
in classColumnReference
-
-