public class ExpressionImpl<X> extends SelectionImpl<X> implements javax.persistence.criteria.Expression<X>, InternalExpression
Purpose: Represents an Expression in the Criteria API heirarchy.
Description: Expressions are expression nodes that can not be joined from and may or not be the result of a Path expression.
Expression
,
Serialized FormConstructor and Description |
---|
ExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<X> javaType,
Expression expressionNode,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
<T> javax.persistence.criteria.Expression<T> |
as(java.lang.Class<T> type) |
void |
findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery) |
javax.persistence.criteria.Predicate |
in(java.util.Collection<?> values)
Apply a predicate to test whether the expression is a member
of the collection.
|
javax.persistence.criteria.Predicate |
in(javax.persistence.criteria.Expression<?>... values)
Apply a predicate to test whether the expression is a member
of the argument list.
|
javax.persistence.criteria.Predicate |
in(javax.persistence.criteria.Expression<java.util.Collection<?>> values)
Apply a predicate to test whether the expression is a member
of the collection.
|
javax.persistence.criteria.Predicate |
in(java.lang.Object... values) |
boolean |
isCompoundExpression() |
boolean |
isExpression() |
boolean |
isJunction() |
boolean |
isLiteral() |
javax.persistence.criteria.Predicate |
isNotNull() |
javax.persistence.criteria.Predicate |
isNull() |
boolean |
isParameter() |
boolean |
isPredicate() |
boolean |
isSubquery() |
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ExpressionImpl(javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<X> javaType, Expression expressionNode, java.lang.Object value)
public <T> javax.persistence.criteria.Expression<T> as(java.lang.Class<T> 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>
values
- public javax.persistence.criteria.Predicate in(java.util.Collection<?> values)
in
in interface javax.persistence.criteria.Expression<X>
values
- collectionpublic javax.persistence.criteria.Predicate in(javax.persistence.criteria.Expression<java.util.Collection<?>> values)
in
in interface javax.persistence.criteria.Expression<X>
values
- expression corresponding to collectionpublic 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>
public boolean isPredicate()
isPredicate
in interface InternalExpression
public boolean isSubquery()
isSubquery
in interface InternalExpression
public boolean isCompoundExpression()
isCompoundExpression
in interface InternalExpression
public boolean isExpression()
isExpression
in interface InternalExpression
public boolean isJunction()
isJunction
in interface InternalExpression
public boolean isLiteral()
isLiteral
in interface InternalExpression
public boolean isParameter()
isParameter
in interface InternalExpression
public void findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery)
findRootAndParameters
in interface InternalSelection
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference