Interface CriteriaBuilder.In<T>
- Type Parameters:
T- the type of the tested expression
- All Superinterfaces:
BooleanExpression, ComparableExpression<Boolean>, Expression<Boolean>, Predicate, Selection<Boolean>, TupleElement<Boolean>
- Enclosing interface:
CriteriaBuilder
Interface used to build in predicates.
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface 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 ComparableExpression
asc, asc, between, between, desc, desc, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, max, minMethods inherited from interface Expression
as, cast, count, countDistinct, equalTo, equalTo, in, in, in, in, in, isMember, isNotMember, isNotNull, isNull, notEqualTo, notEqualTo, selectCaseMethods inherited from interface Predicate
getExpressions, getOperator, isNegated, notMethods inherited from interface Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface TupleElement
getAlias, getJavaType
-
Method Details
-
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
-