X - the type of the value this expression represents.abstract class ExpressionImpl<X> extends SelectionImpl<X> implements javax.persistence.criteria.Expression<X>
| Constructor and Description |
|---|
ExpressionImpl(Class<X> cls) |
| Modifier and Type | Method and Description |
|---|---|
<Y> javax.persistence.criteria.Expression<Y> |
as(Class<Y> type)
Creates a new expression of the given type.
|
javax.persistence.criteria.Predicate |
in(Collection<?> values)
Create a predicate to test whether this expression is a member of the given collection element values.
|
javax.persistence.criteria.Predicate |
in(javax.persistence.criteria.Expression<?>... values)
Create a predicate to test whether this expression is a member of the given argument expressions.
|
javax.persistence.criteria.Predicate |
in(javax.persistence.criteria.Expression<Collection<?>> values)
Create a predicate to test whether this expression is a member of the given expression representing a collection.
|
javax.persistence.criteria.Predicate |
in(Object... values)
Create a predicate to test whether this expression is a member of the given argument values.
|
javax.persistence.criteria.Predicate |
isNotNull()
Create a predicate to test whether this expression is not null.
|
javax.persistence.criteria.Predicate |
isNull()
Create a predicate to test whether this expression is null.
|
(package private) Expression |
toKernelExpression(ExpressionFactory factory,
CriteriaQueryImpl<?> q)
Bridge contract to convert this facade expression to a kernel expression.
|
(package private) abstract Value |
toValue(ExpressionFactory factory,
CriteriaQueryImpl<?> q)
Bridge contract to convert this facade expression to a kernel value.
|
acceptVisit, alias, asProjection, assertValidName, asValue, asVariable, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic <Y> javax.persistence.criteria.Expression<Y> as(Class<Y> type)
as in interface javax.persistence.criteria.Expression<X>public javax.persistence.criteria.Predicate in(Object... values)
in in interface javax.persistence.criteria.Expression<X>public javax.persistence.criteria.Predicate in(javax.persistence.criteria.Expression<?>... values)
in in interface javax.persistence.criteria.Expression<X>public javax.persistence.criteria.Predicate in(Collection<?> values)
in in interface javax.persistence.criteria.Expression<X>public javax.persistence.criteria.Predicate in(javax.persistence.criteria.Expression<Collection<?>> values)
in in interface javax.persistence.criteria.Expression<X>public javax.persistence.criteria.Predicate isNotNull()
isNotNull in interface javax.persistence.criteria.Expression<X>public javax.persistence.criteria.Predicate isNull()
isNull in interface javax.persistence.criteria.Expression<X>abstract Value toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
factory - creates the kernel expressionq - the query definition context of this expressionExpression toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
factory - creates the kernel expressionq - the query definition context of this expressionCopyright © 2006–2013 Apache Software Foundation. All rights reserved.