public static class Expressions.Case<T> extends ExpressionImpl<T> implements javax.persistence.criteria.CriteriaBuilder.Case<T>
| Constructor and Description |
|---|
Expressions.Case(Class<T> cls) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisit(CriteriaExpressionVisitor visitor)
Accept visit from the given visitor.
|
StringBuilder |
asValue(AliasContext q)
Get a string representation of this node as a value in the context of the given query.
|
Expressions.Case<T> |
otherwise(javax.persistence.criteria.Expression<? extends T> otherwise) |
Expressions.Case<T> |
otherwise(T otherwise) |
Value |
toValue(ExpressionFactory factory,
CriteriaQueryImpl<?> q)
Bridge contract to convert this facade expression to a kernel value.
|
Expressions.Case<T> |
when(javax.persistence.criteria.Expression<Boolean> when,
javax.persistence.criteria.Expression<? extends T> then) |
Expressions.Case<T> |
when(javax.persistence.criteria.Expression<Boolean> when,
T then) |
as, in, in, in, in, isNotNull, isNull, toKernelExpressionalias, asProjection, assertValidName, asVariable, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullpublic Expressions.Case<T> when(javax.persistence.criteria.Expression<Boolean> when, javax.persistence.criteria.Expression<? extends T> then)
when in interface javax.persistence.criteria.CriteriaBuilder.Case<T>public Expressions.Case<T> when(javax.persistence.criteria.Expression<Boolean> when, T then)
when in interface javax.persistence.criteria.CriteriaBuilder.Case<T>public Expressions.Case<T> otherwise(javax.persistence.criteria.Expression<? extends T> otherwise)
otherwise in interface javax.persistence.criteria.CriteriaBuilder.Case<T>public Expressions.Case<T> otherwise(T otherwise)
otherwise in interface javax.persistence.criteria.CriteriaBuilder.Case<T>public Value toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
ExpressionImpltoValue in class ExpressionImpl<T>factory - creates the kernel expressionq - the query definition context of this expressionpublic void acceptVisit(CriteriaExpressionVisitor visitor)
CriteriaExpressionacceptVisit in interface CriteriaExpressionacceptVisit in class SelectionImpl<T>visitor - a processor to walk the nodes of a tree.public StringBuilder asValue(AliasContext q)
CriteriaExpressionasValue in interface CriteriaExpressionasValue in class SelectionImpl<T>Copyright © 2006–2015 Apache Software Foundation. All rights reserved.