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> Taccept(SemanticQueryWalker<T> walker)Accept the walker per visitationvoidappendHqlString(StringBuilder sb)StringasLoggableText()SqmTrimSpecificationcopy(SqmCopyContext context)SqmExpressible<Void>getNodeType()TrimSpecgetSpecification()-
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:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmTypedNode<Void>
-
getSpecification
public TrimSpec getSpecification()
-
accept
public <T> T accept(SemanticQueryWalker<T> walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
asLoggableText
public String asLoggableText()
- Specified by:
asLoggableTextin interfaceSqmNode
-
getNodeType
public SqmExpressible<Void> getNodeType()
- Specified by:
getNodeTypein interfaceSqmTypedNode<Void>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
-