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(java.lang.Class<X> cls) |
Modifier and Type | Method and Description |
---|---|
<Y> javax.persistence.criteria.Expression<Y> |
as(java.lang.Class<Y> type)
Creates a new expression of the given type.
|
javax.persistence.criteria.Predicate |
in(java.util.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<java.util.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(java.lang.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, setAutoAlias
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ExpressionImpl(java.lang.Class<X> cls)
cls
- the type of the evaluated result of the expressionpublic <Y> javax.persistence.criteria.Expression<Y> as(java.lang.Class<Y> type)
as
in interface javax.persistence.criteria.Expression<X>
public javax.persistence.criteria.Predicate in(java.lang.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(java.util.Collection<?> values)
in
in interface javax.persistence.criteria.Expression<X>
public javax.persistence.criteria.Predicate in(javax.persistence.criteria.Expression<java.util.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.