Package org.hibernate.query.criteria
Interface JpaSearchedCase<T>
-
- All Superinterfaces:
CriteriaBuilder.Case<T>
,Expression<T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaSelection<T>
,JpaTupleElement<T>
,Selection<T>
,Serializable
,TupleElement<T>
- All Known Implementing Classes:
SqmCaseSearched
public interface JpaSearchedCase<T> extends JpaExpression<T>, CriteriaBuilder.Case<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JpaExpression<T>
otherwise(Expression<? extends T> result)
JpaExpression<T>
otherwise(T result)
JpaSearchedCase<T>
when(Expression<Boolean> condition, Expression<? extends T> result)
JpaSearchedCase<T>
when(Expression<Boolean> condition, T result)
-
Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull
-
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 jakarta.persistence.TupleElement
getAlias
-
-
-
-
Method Detail
-
when
JpaSearchedCase<T> when(Expression<Boolean> condition, T result)
- Specified by:
when
in interfaceCriteriaBuilder.Case<T>
-
when
JpaSearchedCase<T> when(Expression<Boolean> condition, Expression<? extends T> result)
- Specified by:
when
in interfaceCriteriaBuilder.Case<T>
-
otherwise
JpaExpression<T> otherwise(T result)
- Specified by:
otherwise
in interfaceCriteriaBuilder.Case<T>
-
otherwise
JpaExpression<T> otherwise(Expression<? extends T> result)
- Specified by:
otherwise
in interfaceCriteriaBuilder.Case<T>
-
-