Package org.hibernate.query.criteria
Interface JpaSimpleCase<C,R>
-
- All Superinterfaces:
CriteriaBuilder.SimpleCase<C,R>
,Expression<R>
,JpaCriteriaNode
,JpaExpression<R>
,JpaSelection<R>
,JpaTupleElement<R>
,Selection<R>
,Serializable
,TupleElement<R>
- All Known Implementing Classes:
SqmCaseSimple
public interface JpaSimpleCase<C,R> extends JpaExpression<R>, CriteriaBuilder.SimpleCase<C,R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JpaExpression<C>
getExpression()
JpaSimpleCase<C,R>
otherwise(Expression<? extends R> result)
JpaSimpleCase<C,R>
otherwise(R result)
JpaSimpleCase<C,R>
when(C condition, Expression<? extends R> result)
JpaSimpleCase<C,R>
when(C condition, R result)
JpaSimpleCase<C,R>
when(Expression<? extends C> condition, Expression<? extends R> result)
JpaSimpleCase<C,R>
when(Expression<? extends C> condition, R 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
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Method Detail
-
getExpression
JpaExpression<C> getExpression()
- Specified by:
getExpression
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
when
JpaSimpleCase<C,R> when(C condition, R result)
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
when
JpaSimpleCase<C,R> when(C condition, Expression<? extends R> result)
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
when
JpaSimpleCase<C,R> when(Expression<? extends C> condition, R result)
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
when
JpaSimpleCase<C,R> when(Expression<? extends C> condition, Expression<? extends R> result)
- Specified by:
when
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
otherwise
JpaSimpleCase<C,R> otherwise(R result)
- Specified by:
otherwise
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
otherwise
JpaSimpleCase<C,R> otherwise(Expression<? extends R> result)
- Specified by:
otherwise
in interfaceCriteriaBuilder.SimpleCase<C,R>
-
-