Class PersistentPropertyInPredicate<T>

Type Parameters:
T - The property type
All Implemented Interfaces:
IExpression<Boolean>, 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 PersistentPropertyInPredicate<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

    • PersistentPropertyInPredicate

      public PersistentPropertyInPredicate(PersistentPropertyPath<T> propertyPath, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder)
    • PersistentPropertyInPredicate

      public PersistentPropertyInPredicate(PersistentPropertyPath<T> propertyPath, Collection<jakarta.persistence.criteria.Expression<?>> values, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder)
  • 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 PersistentPropertyInPredicate<T> value(T value)
      Specified by:
      value in interface jakarta.persistence.criteria.CriteriaBuilder.In<T>
    • value

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

      public void visitPredicate(PredicateVisitor predicateVisitor)
      Description copied from interface: IPredicate
      Visit predicate.
      Specified by:
      visitPredicate in interface IPredicate
      Parameters:
      predicateVisitor - The visitor
    • toString

      public String toString()
      Overrides:
      toString in class Object