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
valueMethods 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, notEqualToMethods inherited from interface org.hibernate.query.criteria.JpaPredicate
notMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Predicate
getExpressions, getOperator, isNegatedMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods 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:
getExpressionin interfaceCriteriaBuilder.In<T>- Returns:
- expression
-
value
Add to list of values to be tested against.- Specified by:
valuein 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
-