Class CastTarget
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.CastTarget
-
- All Implemented Interfaces:
SqlSelectionProducer
,Expression
,SqlAstNode
public class CastTarget extends Object implements Expression, SqlAstNode
-
-
Constructor Summary
Constructors Constructor Description CastTarget(JdbcMapping type)
CastTarget(JdbcMapping type, Long length, Integer precision, Integer scale)
CastTarget(JdbcMapping type, String sqlType, Long length, Integer precision, Integer scale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
JdbcMappingContainer
getExpressionType()
The type for this expressionLong
getLength()
Integer
getPrecision()
Integer
getScale()
String
getSqlType()
-
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, createDomainResultSqlSelection, createSqlSelection, createSqlSelection, getColumnReference
-
-
-
-
Constructor Detail
-
CastTarget
public CastTarget(JdbcMapping type)
-
CastTarget
public CastTarget(JdbcMapping type, Long length, Integer precision, Integer scale)
-
CastTarget
public CastTarget(JdbcMapping type, String sqlType, Long length, Integer precision, Integer scale)
-
-
Method Detail
-
getSqlType
public String getSqlType()
-
getLength
public Long getLength()
-
getPrecision
public Integer getPrecision()
-
getScale
public Integer getScale()
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
-
-