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 StringgetAlias(Dialect dialect)Deprecated.new read-by-position paradigm means that these generated aliases are no longer neededStringgetAlias(Dialect dialect, Table table)Deprecated.new read-by-position paradigm means that these generated aliases are no longer neededStringgetCustomReadExpression()Any custom read expression for this selectable.StringgetCustomWriteExpression()Any custom write expression for this selectable.StringgetTemplate(Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry)StringgetText()The selectable's "canonical" text representationStringgetText(Dialect dialect)The selectable's text representation accounting for the Dialect's quoting, if quoteddefault StringgetWriteExpr()default StringgetWriteExpr(JdbcMapping jdbcMapping, Dialect dialect)booleanisFormula()Does this selectable represent a formula?trueindicates it is a formula;falseindicates 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?trueindicates it is a formula;falseindicates 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)
-
-