Class Restrictions.PropertyIds<T>

java.lang.Object
io.micronaut.data.processor.visitors.finders.Restrictions.PropertyIds<T>
Type Parameters:
T - The property type
All Implemented Interfaces:
Restrictions.Restriction<T>
Enclosing class:
Restrictions

public static class Restrictions.PropertyIds<T> extends Object implements Restrictions.Restriction<T>
Ids restriction.
  • Constructor Details

    • PropertyIds

      public PropertyIds()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Restrictions.Restriction<T>
    • getRequiredParameters

      public int getRequiredParameters()
      Specified by:
      getRequiredParameters in interface Restrictions.Restriction<T>
    • find

      public jakarta.persistence.criteria.Predicate find(io.micronaut.data.model.jpa.criteria.PersistentEntityRoot<?> entityRoot, io.micronaut.data.model.jpa.criteria.PersistentEntityCriteriaBuilder cb, jakarta.persistence.criteria.ParameterExpression<T>[] parameters)
      Specified by:
      find in interface Restrictions.Restriction<T>