Package jakarta.persistence.criteria
Interface CriteriaBuilder.In<T>
- All Superinterfaces:
Expression<Boolean>
,Predicate
,Selection<Boolean>
,TupleElement<Boolean>
- Enclosing interface:
CriteriaBuilder
Interface used to build in predicates.
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
Predicate.BooleanOperator
-
Method Summary
Modifier and TypeMethodDescriptionReturn the expression to be tested against the list of values.value
(Expression<? extends T> value) Add to list of values to be tested against.Add to list of values to be tested against.Methods inherited from interface jakarta.persistence.criteria.Expression
as, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo
Methods inherited from interface jakarta.persistence.criteria.Predicate
getExpressions, getOperator, isNegated, not
Methods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
Method Details
-
getExpression
Expression<T> getExpression()Return the expression to be tested against the list of values.- Returns:
- expression
-
value
Add to list of values to be tested against.- Parameters:
value
- value- Returns:
- in predicate
-
value
Add to list of values to be tested against.- Parameters:
value
- expression- Returns:
- in predicate
-