Expression<R>
, Selection<R>
, TupleElement<R>
public static interface CriteriaBuilder.Case<R> extends Expression<R>
Modifier and Type | Method | Description |
---|---|---|
Expression<R> |
otherwise(Expression<? extends R> result) |
Add an "else" clause to the case expression.
|
Expression<R> |
otherwise(R result) |
Add an "else" clause to the case expression.
|
CriteriaBuilder.Case<R> |
when(Expression<java.lang.Boolean> condition,
Expression<? extends R> result) |
Add a when/then clause to the case expression.
|
CriteriaBuilder.Case<R> |
when(Expression<java.lang.Boolean> condition,
R result) |
Add a when/then clause to the case expression.
|
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
CriteriaBuilder.Case<R> when(Expression<java.lang.Boolean> condition, R result)
condition
- "when" conditionresult
- "then" result valueCriteriaBuilder.Case<R> when(Expression<java.lang.Boolean> condition, Expression<? extends R> result)
condition
- "when" conditionresult
- "then" result expressionExpression<R> otherwise(R result)
result
- "else" resultExpression<R> otherwise(Expression<? extends R> result)
result
- "else" result expressionCopyright © 2018. All rights reserved.