Package org.hibernate.mapping
Interface Selectable
-
- All Known Implementing Classes:
AggregateColumn
,Column
,ExportableColumn
,Formula
,SelfRenderingAggregateFunctionSqlAstExpression
,SelfRenderingFunctionSqlAstExpression
,SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
,SelfRenderingWindowFunctionSqlAstExpression
public interface Selectable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description String
getAlias(Dialect dialect)
Deprecated.new read-by-position paradigm means that these generated aliases are no longer neededString
getAlias(Dialect dialect, Table table)
Deprecated.new read-by-position paradigm means that these generated aliases are no longer neededString
getCustomReadExpression()
Any custom read expression for this selectable.String
getCustomWriteExpression()
Any custom write expression for this selectable.String
getTemplate(Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry)
String
getText()
The selectable's "canonical" text representationString
getText(Dialect dialect)
The selectable's text representation accounting for the Dialect's quoting, if quoteddefault String
getWriteExpr()
default String
getWriteExpr(JdbcMapping jdbcMapping, Dialect dialect)
boolean
isFormula()
Does this selectable represent a formula?true
indicates it is a formula;false
indicates it is a physical column
-
-
-
Method Detail
-
getText
String getText()
The selectable's "canonical" text representation
-
getText
String getText(Dialect dialect)
The selectable's text representation accounting for the Dialect's quoting, if quoted
-
isFormula
boolean isFormula()
Does this selectable represent a formula?true
indicates it is a formula;false
indicates it is a physical column
-
getCustomReadExpression
String getCustomReadExpression()
Any custom read expression for this selectable. Only pertinent for physical columns (not formulas)- See Also:
ColumnTransformer
-
getCustomWriteExpression
String getCustomWriteExpression()
Any custom write expression for this selectable. Only pertinent for physical columns (not formulas)- See Also:
ColumnTransformer
-
getAlias
@Deprecated(since="6.0") String getAlias(Dialect dialect)
Deprecated.new read-by-position paradigm means that these generated aliases are no longer needed
-
getAlias
@Deprecated(since="6.0") String getAlias(Dialect dialect, Table table)
Deprecated.new read-by-position paradigm means that these generated aliases are no longer needed
-
getTemplate
String getTemplate(Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry)
-
getWriteExpr
@Incubating default String getWriteExpr()
-
getWriteExpr
@Incubating default String getWriteExpr(JdbcMapping jdbcMapping, Dialect dialect)
-
-