Class SqmCaseSimple<T,R>
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<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
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSqmCaseSimple
(SqmExpression<T> fixture, int estimatedWhenSize, NodeBuilder nodeBuilder) SqmCaseSimple
(SqmExpression<T> fixture, NodeBuilder nodeBuilder) SqmCaseSimple
(SqmExpression<T> fixture, SqmExpressible<R> inherentType, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> X
accept
(SemanticQueryWalker<X> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) SqmExpression<? extends R>
List<SqmCaseSimple.WhenFragment<? extends T,
? extends R>> protected void
internalApplyInferableType
(SqmExpressible<?> newType) otherwise
(Expression<? extends R> result) void
otherwise
(SqmExpression<? extends R> otherwiseExpression) when
(Expression<? extends T> condition, Expression<? extends R> result) when
(Expression<? extends T> condition, R result) void
when
(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, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, 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, getJavaTypeDescriptor, 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
-
SqmCaseSimple
-
SqmCaseSimple
-
SqmCaseSimple
public SqmCaseSimple(SqmExpression<T> fixture, SqmExpressible<R> inherentType, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmExpression<T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmSelectableNode<T>
- Specified by:
copy
in interfaceSqmTypedNode<T>
-
getFixture
-
getWhenFragments
-
getOtherwise
-
otherwise
-
when
-
internalApplyInferableType
- Overrides:
internalApplyInferableType
in classAbstractSqmExpression<R>
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
asLoggableText
- Specified by:
asLoggableText
in interfaceSqmNode
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
getExpression
- Specified by:
getExpression
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
getExpression
in interfaceJpaSimpleCase<T,
R>
-
when
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
when
in interfaceJpaSimpleCase<T,
R>
-
when
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
when
in interfaceJpaSimpleCase<T,
R>
-
when
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
when
in interfaceJpaSimpleCase<T,
R>
-
when
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
when
in interfaceJpaSimpleCase<T,
R>
-
otherwise
- Specified by:
otherwise
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
otherwise
in interfaceJpaSimpleCase<T,
R>
-
otherwise
- Specified by:
otherwise
in interfaceCriteriaBuilder.SimpleCase<T,
R> - Specified by:
otherwise
in interfaceJpaSimpleCase<T,
R>
-