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