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 Form| Constructor and Description |
|---|
InImpl(javax.persistence.metamodel.Metamodel metamodel,
ExpressionImpl leftExpression,
java.util.Collection values,
java.util.List expressions) |
InImpl(javax.persistence.metamodel.Metamodel metamodel,
ExpressionImpl leftExpression,
ExpressionImpl rightExp,
java.util.List expressions) |
| Modifier and Type | Method and Description |
|---|---|
void |
findRootAndParameters(CommonAbstractCriteriaImpl query) |
javax.persistence.criteria.Expression<T> |
getExpression()
Returns the expression to be tested against the
list of values.
|
boolean |
isPredicate() |
javax.persistence.criteria.Predicate |
not()
Apply negation to the predicate.
|
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, setOperatorgetChildExpressions, getOperationas, in, in, in, in, isJunction, isLiteral, isNotNull, isNull, isParameter, isSubqueryalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRootequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpressions, getOperator, isNegatedas, in, in, in, in, isNotNull, isNullpublic InImpl(javax.persistence.metamodel.Metamodel metamodel,
ExpressionImpl leftExpression,
java.util.Collection values,
java.util.List expressions)
public InImpl(javax.persistence.metamodel.Metamodel metamodel,
ExpressionImpl leftExpression,
ExpressionImpl rightExp,
java.util.List expressions)
public javax.persistence.criteria.Expression<T> getExpression()
getExpression in interface javax.persistence.criteria.CriteriaBuilder.In<T>public void findRootAndParameters(CommonAbstractCriteriaImpl query)
findRootAndParameters in interface InternalSelectionfindRootAndParameters in class FunctionExpressionImpl<java.lang.Boolean>public boolean isPredicate()
isPredicate in interface InternalExpressionisPredicate in class CompoundExpressionImplpublic 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 CompoundExpressionImplpublic javax.persistence.criteria.Predicate not()
CompoundExpressionImplnot in interface javax.persistence.criteria.Predicatenot in class CompoundExpressionImplEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference