Class SqmFormat
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<T>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<T>
org.hibernate.query.sqm.tree.expression.SqmLiteral<String>
org.hibernate.query.sqm.tree.expression.SqmFormat
- All Implemented Interfaces:
Expression<String>
,Selection<String>
,TupleElement<String>
,Serializable
,JpaCriteriaNode
,JpaExpression<String>
,JpaSelection<String>
,JpaTupleElement<String>
,SqmExpression<String>
,SqmSelectableNode<String>
,SqmExpressibleAccessor<String>
,SqmNode
,SqmTypedNode<String>
,SqmVisitableNode
Effectively a query-literal but we want to handle it specially in the SQM to SQL AST conversion
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSqmFormat
(String value, SqmExpressible<String> inherentType, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<R> R
accept
(SemanticQueryWalker<R> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) Methods inherited from class org.hibernate.query.sqm.tree.expression.SqmLiteral
appendHqlString, asLoggableText, getLiteralValue
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelection
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleType
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.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
cast, castAs, getNodeType, visitSubSelectableNodes
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmFormat
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmExpression<String>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmSelectableNode<String>
- Specified by:
copy
in interfaceSqmTypedNode<String>
- Overrides:
copy
in classSqmLiteral<String>
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
- Overrides:
accept
in classSqmLiteral<String>
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classSqmLiteral<String>
-