Interface CriteriaBuilder.In<T>

All Superinterfaces:
Expression<Boolean>, Predicate, Selection<Boolean>, TupleElement<Boolean>
Enclosing interface:
CriteriaBuilder

public static interface CriteriaBuilder.In<T> extends Predicate
Interface used to build in predicates.
  • Method Details

    • getExpression

      Expression<T> getExpression()
      Return the expression to be tested against the list of values.
      Returns:
      expression
    • value

      CriteriaBuilder.In<T> value(T value)
      Add to list of values to be tested against.
      Parameters:
      value - value
      Returns:
      in predicate
    • value

      CriteriaBuilder.In<T> value(Expression<? extends T> value)
      Add to list of values to be tested against.
      Parameters:
      value - expression
      Returns:
      in predicate