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>, SqmCacheable, 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, @Nullable SqmBindableType<R> inherentType, NodeBuilder nodeBuilder) SqmCaseSimple(SqmExpression<T> fixture, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) boolean@Nullable SqmExpression<? extends R> List<SqmCaseSimple.WhenFragment<? extends T, ? extends R>> inthashCode()protected voidinternalApplyInferableType(@Nullable SqmBindableType<?> newType) booleanisCompatible(Object object) otherwise(Expression<? extends R> result) voidotherwise(SqmExpression<? extends R> otherwiseExpression) when(Expression<? extends T> condition, @Nullable R result) when(Expression<? extends T> condition, Expression<? extends R> result) voidwhen(SqmExpression<? extends T> test, SqmExpression<? extends R> result) when(T condition, Expression<? extends R> result) Methods inherited from class AbstractSqmExpression
applyInferableType, as, cast, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, getNodeType, visitSubSelectableNodesMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmCaseSimple
-
SqmCaseSimple
-
SqmCaseSimple
public SqmCaseSimple(SqmExpression<T> fixture, @Nullable 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
-
isCompatible
- Specified by:
isCompatiblein interfaceSqmCacheable
-
cacheHashCode
public int cacheHashCode()- Specified by:
cacheHashCodein interfaceSqmCacheable
-
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>
-