Package org.hibernate.query.criteria
Interface JpaInPredicate<T>
-
- All Superinterfaces:
jakarta.persistence.criteria.CriteriaBuilder.In<T>,jakarta.persistence.criteria.Expression<Boolean>,JpaCriteriaNode,JpaExpression<Boolean>,JpaPredicate,JpaSelection<Boolean>,JpaTupleElement<Boolean>,jakarta.persistence.criteria.Predicate,jakarta.persistence.criteria.Selection<Boolean>,Serializable,jakarta.persistence.TupleElement<Boolean>
- All Known Subinterfaces:
SqmInPredicate<T>
- All Known Implementing Classes:
SqmInListPredicate,SqmInSubQueryPredicate
public interface JpaInPredicate<T> extends JpaPredicate, jakarta.persistence.criteria.CriteriaBuilder.In<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JpaExpression<T>getExpression()Return the expression to be tested against the list of values.JpaInPredicate<T>value(JpaExpression<? extends T> value)Add to list of values to be tested against.JpaInPredicate<T>value(T value)Add to list of values to be tested against.-
Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
-
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
-
-
-
-
Method Detail
-
getExpression
JpaExpression<T> getExpression()
Return the expression to be tested against the list of values.- Specified by:
getExpressionin interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>- Returns:
- expression
-
value
JpaInPredicate<T> value(T value)
Add to list of values to be tested against.- Specified by:
valuein interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>- Parameters:
value- value- Returns:
- in predicate
-
value
JpaInPredicate<T> value(JpaExpression<? extends T> value)
Add to list of values to be tested against.- Parameters:
value- expression- Returns:
- in predicate
-
-