public class InImpl<T> extends CompoundExpressionImpl implements javax.persistence.criteria.CriteriaBuilder.In<T>
Purpose: Contains the implementation of the In interface of the JPA criteria API.
Description: This class represents an In predicate.
Join
,
Serialized FormConstructor and Description |
---|
InImpl(javax.persistence.metamodel.Metamodel metamodel,
javax.persistence.criteria.Expression leftExpression,
java.util.List<javax.persistence.criteria.Expression<?>> compoundExpressions) |
Modifier and Type | Method and Description |
---|---|
javax.persistence.criteria.Expression<T> |
getExpression()
Returns the expression to be tested against the
list of values.
|
void |
setParentNode(Expression parentNode)
This method is used to store what will be the parent EclipseLink expression in the case the tree needs to be altered.
|
javax.persistence.criteria.CriteriaBuilder.In<T> |
value(javax.persistence.criteria.Expression<? extends T> value)
Add to list of values to be tested against.
|
javax.persistence.criteria.CriteriaBuilder.In<T> |
value(T value)
Add to list of values to be tested against.
|
getExpressions, getOperator, isCompoundExpression, isExpression, isNegated, not, setOperator
findRootAndParameters, getChildExpressions, getOperation
as, in, in, in, in, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubquery
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpressions, getOperator, isNegated, not
as, in, in, in, in, isNotNull, isNull
public InImpl(javax.persistence.metamodel.Metamodel metamodel, javax.persistence.criteria.Expression leftExpression, java.util.List<javax.persistence.criteria.Expression<?>> compoundExpressions)
public javax.persistence.criteria.Expression<T> getExpression()
getExpression
in interface javax.persistence.criteria.CriteriaBuilder.In<T>
public javax.persistence.criteria.CriteriaBuilder.In<T> value(T value)
value
in interface javax.persistence.criteria.CriteriaBuilder.In<T>
value
- valuepublic javax.persistence.criteria.CriteriaBuilder.In<T> value(javax.persistence.criteria.Expression<? extends T> value)
value
in interface javax.persistence.criteria.CriteriaBuilder.In<T>
value
- expressionpublic void setParentNode(Expression parentNode)
setParentNode
in class CompoundExpressionImpl
EclipseLink 2.4.2, "build v20130514-5956486" API Reference