Package org.hibernate.query.criteria
Interface JpaInPredicate<T>
- All Superinterfaces:
CriteriaBuilder.In<T>
,Expression<Boolean>
,JpaCriteriaNode
,JpaExpression<Boolean>
,JpaPredicate
,JpaSelection<Boolean>
,JpaTupleElement<Boolean>
,Predicate
,Selection<Boolean>
,Serializable
,TupleElement<Boolean>
- All Known Subinterfaces:
SqmInPredicate<T>
- All Known Implementing Classes:
SqmInListPredicate
,SqmInSubQueryPredicate
-
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
(JpaExpression<? 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.CriteriaBuilder.In
value
Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo
Methods inherited from interface org.hibernate.query.criteria.JpaPredicate
not
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Predicate
getExpressions, getOperator, isNegated
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
getExpression
JpaExpression<T> getExpression()Return the expression to be tested against the list of values.- Specified by:
getExpression
in interfaceCriteriaBuilder.In<T>
- Returns:
- expression
-
value
Add to list of values to be tested against.- Specified by:
value
in interfaceCriteriaBuilder.In<T>
- Parameters:
value
- value- Returns:
- in predicate
-
value
Add to list of values to be tested against.- Parameters:
value
- expression- Returns:
- in predicate
-