Class Restrictions.PropertyCollectionContains<T>
java.lang.Object
io.micronaut.data.processor.visitors.finders.Restrictions.PropertyArrayContains<T>
io.micronaut.data.processor.visitors.finders.Restrictions.PropertyCollectionContains<T>
- Type Parameters:
T- The property type
- All Implemented Interfaces:
Restrictions.PropertyRestriction<T>
- Enclosing class:
- Restrictions
public static class Restrictions.PropertyCollectionContains<T>
extends Restrictions.PropertyArrayContains<T>
Collection contains restriction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Predicatefind(PersistentEntityRoot<?> entityRoot, PersistentEntityCriteriaBuilder cb, jakarta.persistence.criteria.Expression<T> expression, jakarta.persistence.criteria.ParameterExpression<T>[] parameters) getName()int
-
Constructor Details
-
PropertyCollectionContains
public PropertyCollectionContains()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceRestrictions.PropertyRestriction<T>- Overrides:
getNamein classRestrictions.PropertyArrayContains<T>
-
getRequiredParameters
public int getRequiredParameters()- Specified by:
getRequiredParametersin interfaceRestrictions.PropertyRestriction<T>
-
find
public jakarta.persistence.criteria.Predicate find(PersistentEntityRoot<?> entityRoot, PersistentEntityCriteriaBuilder cb, jakarta.persistence.criteria.Expression<T> expression, jakarta.persistence.criteria.ParameterExpression<T>[] parameters) - Specified by:
findin interfaceRestrictions.PropertyRestriction<T>
-