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 <X> X
accept(SemanticQueryWalker<X> walker)
Accept the walker per visitationvoid
appendHqlString(StringBuilder sb)
SqmCastTarget<T>
copy(SqmCopyContext context)
Long
getLength()
SqmExpressible<T>
getNodeType()
Integer
getPrecision()
Integer
getScale()
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:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmTypedNode<T>
-
getType
public ReturnableType<T> getType()
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
getNodeType
public SqmExpressible<T> getNodeType()
- Specified by:
getNodeType
in interfaceSqmTypedNode<T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
-