Class SqmCastTarget<T>
- java.lang.Object
-
- org.hibernate.query.sqm.tree.AbstractSqmNode
-
- org.hibernate.query.sqm.tree.expression.SqmCastTarget<T>
-
- All Implemented Interfaces:
Serializable,JpaCriteriaNode,SqmExpressibleAccessor<T>,SqmNode,SqmTypedNode<T>,SqmVisitableNode
public class SqmCastTarget<T> extends AbstractSqmNode implements SqmTypedNode<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmCastTarget(ReturnableType<T> type, Integer precision, Integer scale, NodeBuilder nodeBuilder)SqmCastTarget(ReturnableType<T> type, Long length, Integer precision, Integer scale, NodeBuilder nodeBuilder)SqmCastTarget(ReturnableType<T> type, Long length, NodeBuilder nodeBuilder)SqmCastTarget(ReturnableType<T> type, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(SemanticQueryWalker<T> walker)Accept the walker per visitationvoidappendHqlString(StringBuilder sb)SqmCastTarget<T>copy(SqmCopyContext context)LonggetLength()SqmExpressiblegetNodeType()IntegergetPrecision()IntegergetScale()ReturnableType<T>getType()-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
-
-
-
Constructor Detail
-
SqmCastTarget
public SqmCastTarget(ReturnableType<T> type, NodeBuilder nodeBuilder)
-
SqmCastTarget
public SqmCastTarget(ReturnableType<T> type, Long length, NodeBuilder nodeBuilder)
-
SqmCastTarget
public SqmCastTarget(ReturnableType<T> type, Integer precision, Integer scale, NodeBuilder nodeBuilder)
-
SqmCastTarget
public SqmCastTarget(ReturnableType<T> type, Long length, Integer precision, Integer scale, NodeBuilder nodeBuilder)
-
-
Method Detail
-
getLength
public Long getLength()
-
getPrecision
public Integer getPrecision()
-
getScale
public Integer getScale()
-
copy
public SqmCastTarget<T> copy(SqmCopyContext context)
- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmTypedNode<T>
-
getType
public ReturnableType<T> getType()
-
accept
public <T> T accept(SemanticQueryWalker<T> walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
getNodeType
public SqmExpressible getNodeType()
- Specified by:
getNodeTypein interfaceSqmTypedNode<T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
-