Class SqmTrimSpecification
- java.lang.Object
-
- org.hibernate.query.sqm.tree.AbstractSqmNode
-
- org.hibernate.query.sqm.tree.expression.SqmTrimSpecification
-
- All Implemented Interfaces:
Serializable
,JpaCriteriaNode
,SqmExpressibleAccessor<Void>
,SqmNode
,SqmTypedNode<Void>
,SqmVisitableNode
public class SqmTrimSpecification extends AbstractSqmNode implements SqmTypedNode<Void>
Needed to pass TrimSpecification as an SqmExpression when we call out to SqmFunctionTemplates handling TRIM calls as a function argument.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmTrimSpecification(TrimSpec specification, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(SemanticQueryWalker<T> walker)
Accept the walker per visitationvoid
appendHqlString(StringBuilder sb)
String
asLoggableText()
SqmTrimSpecification
copy(SqmCopyContext context)
SqmExpressible<Void>
getNodeType()
TrimSpec
getSpecification()
-
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
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
-
SqmTrimSpecification
public SqmTrimSpecification(TrimSpec specification, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmTrimSpecification copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmTypedNode<Void>
-
getSpecification
public TrimSpec getSpecification()
-
accept
public <T> T accept(SemanticQueryWalker<T> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
asLoggableText
public String asLoggableText()
- Specified by:
asLoggableText
in interfaceSqmNode
-
getNodeType
public SqmExpressible<Void> getNodeType()
- Specified by:
getNodeType
in interfaceSqmTypedNode<Void>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
-