Class CastTarget
java.lang.Object
org.hibernate.sql.ast.tree.expression.CastTarget
- All Implemented Interfaces:
SqlTypedMapping
,SqlSelectionProducer
,Expression
,SqlAstNode
-
Constructor Summary
ConstructorsConstructorDescriptionCastTarget
(JdbcMapping type) CastTarget
(JdbcMapping type, Long length, Integer precision, Integer scale) CastTarget
(JdbcMapping type, String sqlType, Long length, Integer precision, Integer scale) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) The type for this expressiongetScale()
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, getColumnReference
Methods inherited from interface org.hibernate.metamodel.mapping.SqlTypedMapping
isLob, toSize
-
Constructor Details
-
CastTarget
-
CastTarget
-
CastTarget
-
-
Method Details
-
getSqlType
-
getColumnDefinition
- Specified by:
getColumnDefinition
in interfaceSqlTypedMapping
-
getJdbcMapping
- Specified by:
getJdbcMapping
in interfaceSqlTypedMapping
-
getLength
- Specified by:
getLength
in interfaceSqlTypedMapping
-
getPrecision
- Specified by:
getPrecision
in interfaceSqlTypedMapping
-
getTemporalPrecision
- Specified by:
getTemporalPrecision
in interfaceSqlTypedMapping
-
getScale
- Specified by:
getScale
in interfaceSqlTypedMapping
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
accept
- Specified by:
accept
in interfaceSqlAstNode
-