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 SummaryConstructors
- 
Method SummaryModifier 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- 
PropertyCollectionContainspublic PropertyCollectionContains()
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- Restrictions.PropertyRestriction<T>
- Overrides:
- getNamein class- Restrictions.PropertyArrayContains<T>
 
- 
getRequiredParameterspublic int getRequiredParameters()- Specified by:
- getRequiredParametersin interface- Restrictions.PropertyRestriction<T>
 
- 
findpublic jakarta.persistence.criteria.Predicate find(PersistentEntityRoot<?> entityRoot, PersistentEntityCriteriaBuilder cb, jakarta.persistence.criteria.Expression<T> expression, jakarta.persistence.criteria.ParameterExpression<T>[] parameters) - Specified by:
- findin interface- Restrictions.PropertyRestriction<T>
 
 
-