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
public interface JpaInPredicate<T> extends JpaPredicate, CriteriaBuilder.In<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
Predicate.BooleanOperator
-
-
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 jakarta.persistence.criteria.CriteriaBuilder.In
value
-
Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, equalTo, equalTo, 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
-
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 Detail
-
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
JpaInPredicate<T> value(T value)
Add to list of values to be tested against.- Specified by:
value
in interfaceCriteriaBuilder.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
-
-