Class PersistentPropertyInValuesPredicate<T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate<T>
io.micronaut.data.model.jpa.criteria.impl.predicate.PersistentPropertyInValuesPredicate<T>
- Type Parameters:
T
- The property type
- All Implemented Interfaces:
IExpression<Boolean>
,PredicateVisitable
,SelectionVisitable
,IPredicate
,ISelection<Boolean>
,jakarta.persistence.criteria.CriteriaBuilder.In<T>
,jakarta.persistence.criteria.Expression<Boolean>
,jakarta.persistence.criteria.Predicate
,jakarta.persistence.criteria.Selection<Boolean>
,jakarta.persistence.TupleElement<Boolean>
@Internal
public final class PersistentPropertyInValuesPredicate<T>
extends AbstractPersistentPropertyPredicate<T>
implements jakarta.persistence.criteria.CriteriaBuilder.In<T>
The property IN value predicate implementation.
- Since:
- 3.2
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
jakarta.persistence.criteria.Predicate.BooleanOperator
-
Field Summary
Fields inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate
persistentPropertyPath
-
Constructor Summary
ConstructorDescriptionPersistentPropertyInValuesPredicate
(PersistentPropertyPath<T> propertyPath) PersistentPropertyInValuesPredicate
(PersistentPropertyPath<T> propertyPath, Collection<jakarta.persistence.criteria.Expression<?>> values) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(PredicateVisitor predicateVisitor) jakarta.persistence.criteria.Expression<T>
@NonNull List<jakarta.persistence.criteria.Expression<?>>
toString()
Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate
getProperty, getPropertyPath
Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
accept, getAlias, getExpressions, getJavaType, getOperator, isNegated, not
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isNotNull, isNull
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IPredicate
isBoolean, isComparable, isNumeric
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.criteria.Predicate
getExpressions, getOperator, isNegated, not
Methods inherited from interface jakarta.persistence.TupleElement
getJavaType
-
Constructor Details
-
PersistentPropertyInValuesPredicate
-
PersistentPropertyInValuesPredicate
public PersistentPropertyInValuesPredicate(PersistentPropertyPath<T> propertyPath, Collection<jakarta.persistence.criteria.Expression<?>> values)
-
-
Method Details
-
getValues
-
getExpression
- Specified by:
getExpression
in interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>
-
value
- Specified by:
value
in interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>
-
value
public PersistentPropertyInValuesPredicate<T> value(jakarta.persistence.criteria.Expression<? extends T> value) - Specified by:
value
in interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>
-
accept
- Specified by:
accept
in interfacePredicateVisitable
-
toString
-