Class SqmCaseSimple<T,R>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<R>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<R>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<R>
org.hibernate.query.sqm.tree.expression.SqmCaseSimple<T,R>
- All Implemented Interfaces:
CriteriaBuilder.SimpleCase<T,,R> Expression<R>,Selection<R>,TupleElement<R>,Serializable,JpaCriteriaNode,JpaExpression<R>,JpaSelection<R>,JpaSimpleCase<T,,R> JpaTupleElement<R>,SqmExpression<R>,SqmSelectableNode<R>,SqmExpressibleAccessor<R>,SqmNode,SqmTypedNode<R>,SqmVisitableNode
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmCaseSimple(SqmExpression<T> fixture, int estimatedWhenSize, NodeBuilder nodeBuilder) SqmCaseSimple(SqmExpression<T> fixture, NodeBuilder nodeBuilder) SqmCaseSimple(SqmExpression<T> fixture, SqmBindableType<R> inherentType, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) booleanSqmExpression<? extends R> List<SqmCaseSimple.WhenFragment<? extends T, ? extends R>> inthashCode()protected voidinternalApplyInferableType(SqmBindableType<?> newType) otherwise(Expression<? extends R> result) voidotherwise(SqmExpression<? extends R> otherwiseExpression) when(Expression<? extends T> condition, Expression<? extends R> result) when(Expression<? extends T> condition, R result) voidwhen(SqmExpression<? extends T> test, SqmExpression<? extends R> result) when(T condition, Expression<? extends R> result) Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
castAs, getNodeType, visitSubSelectableNodesMethods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmCaseSimple
-
SqmCaseSimple
-
SqmCaseSimple
public SqmCaseSimple(SqmExpression<T> fixture, SqmBindableType<R> inherentType, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmSelectableNode<T>- Specified by:
copyin interfaceSqmTypedNode<T>
-
getFixture
-
getWhenFragments
-
getOtherwise
-
otherwise
-
when
-
internalApplyInferableType
- Overrides:
internalApplyInferableTypein classAbstractSqmExpression<R>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
asLoggableText
- Specified by:
asLoggableTextin interfaceSqmNode
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
equals
-
hashCode
public int hashCode() -
getExpression
- Specified by:
getExpressionin interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
getExpressionin interfaceJpaSimpleCase<T,R>
-
when
- Specified by:
whenin interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
whenin interfaceJpaSimpleCase<T,R>
-
when
- Specified by:
whenin interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
whenin interfaceJpaSimpleCase<T,R>
-
when
- Specified by:
whenin interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
whenin interfaceJpaSimpleCase<T,R>
-
when
- Specified by:
whenin interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
whenin interfaceJpaSimpleCase<T,R>
-
otherwise
- Specified by:
otherwisein interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
otherwisein interfaceJpaSimpleCase<T,R>
-
otherwise
- Specified by:
otherwisein interfaceCriteriaBuilder.SimpleCase<T,R> - Specified by:
otherwisein interfaceJpaSimpleCase<T,R>
-