Class 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
  • Constructor Details

    • PersistentPropertyInValuesPredicate

      public PersistentPropertyInValuesPredicate(PersistentPropertyPath<T> propertyPath)
    • PersistentPropertyInValuesPredicate

      public PersistentPropertyInValuesPredicate(PersistentPropertyPath<T> propertyPath, Collection<jakarta.persistence.criteria.Expression<?>> values)
  • Method Details

    • getValues

      @NonNull public @NonNull List<jakarta.persistence.criteria.Expression<?>> getValues()
    • getExpression

      public jakarta.persistence.criteria.Expression<T> getExpression()
      Specified by:
      getExpression in interface jakarta.persistence.criteria.CriteriaBuilder.In<T>
    • value

      public PersistentPropertyInValuesPredicate<T> value(T value)
      Specified by:
      value in interface jakarta.persistence.criteria.CriteriaBuilder.In<T>
    • value

      public PersistentPropertyInValuesPredicate<T> value(jakarta.persistence.criteria.Expression<? extends T> value)
      Specified by:
      value in interface jakarta.persistence.criteria.CriteriaBuilder.In<T>
    • accept

      public void accept(PredicateVisitor predicateVisitor)
      Specified by:
      accept in interface PredicateVisitable
    • toString

      public String toString()
      Overrides:
      toString in class Object