Uses of Interface
jakarta.persistence.criteria.Predicate
Packages that use Predicate
-
Uses of Predicate in jakarta.persistence.criteria
Subinterfaces of Predicate in jakarta.persistence.criteriaModifier and TypeInterfaceDescriptionstatic interface
Interface used to build in predicates.Methods in jakarta.persistence.criteria that return PredicateModifier and TypeMethodDescriptionCriteriaBuilder.and
(Expression<Boolean> x, Expression<Boolean> y) Create a conjunction of the given boolean expressions.Create a conjunction of the given restriction predicates.Create a conjunction of the given restriction predicates.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.between
(Expression<? extends Y> v, Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is between the second and third arguments in value.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.between
(Expression<? extends Y> v, Y x, Y y) Create a predicate for testing whether the first argument is between the second and third arguments in value.CriteriaBuilder.conjunction()
Create a conjunction (with zero conjuncts).CriteriaBuilder.disjunction()
Create a disjunction (with zero disjuncts).CriteriaBuilder.equal
(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for equality.CriteriaBuilder.equal
(Expression<?> x, Object y) Create a predicate for testing the arguments for equality.Expression.equalTo
(Expression<?> value) Create a predicate to test whether the expression is equal to the argument.Create a predicate to test whether the expression is equal to the argument.Create a predicate testing the existence of a subquery result.CriteriaBuilder.ge
(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is greater than or equal to the second.CriteriaBuilder.ge
(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than or equal to the second.AbstractQuery.getGroupRestriction()
Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified.Join.getOn()
Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition has been specified.CommonAbstractCriteria.getRestriction()
Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.greaterThan
(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.greaterThan
(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.greaterThanOrEqualTo
(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than or equal to the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.greaterThanOrEqualTo
(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than or equal to the second.CriteriaBuilder.gt
(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is greater than the second.CriteriaBuilder.gt
(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than the second.Expression.in
(Expression<?>... values) Create a predicate to test whether the expression is a member of the argument list.Expression.in
(Expression<Collection<?>> values) Create a predicate to test whether the expression is a member of the collection.Create a predicate to test whether the expression is a member of the argument list.Expression.in
(Collection<?> values) Create a predicate to test whether the expression is a member of the collection.<C extends Collection<?>>
PredicateCriteriaBuilder.isEmpty
(Expression<C> collection) Create a predicate that tests whether a collection is empty.CriteriaBuilder.isFalse
(Expression<Boolean> x) Create a predicate testing for a false value.<E,
C extends Collection<E>>
PredicateCriteriaBuilder.isMember
(E elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<E,
C extends Collection<E>>
PredicateCriteriaBuilder.isMember
(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<C extends Collection<?>>
PredicateCriteriaBuilder.isNotEmpty
(Expression<C> collection) Create a predicate that tests whether a collection is not empty.<E,
C extends Collection<E>>
PredicateCriteriaBuilder.isNotMember
(E elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.<E,
C extends Collection<E>>
PredicateCriteriaBuilder.isNotMember
(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.CriteriaBuilder.isNotNull
(Expression<?> x) Create a predicate to test whether the expression is not null.Expression.isNotNull()
Create a predicate to test whether the expression is not null.CriteriaBuilder.isNull
(Expression<?> x) Create a predicate to test whether the expression is null.Expression.isNull()
Create a predicate to test whether the expression is null.CriteriaBuilder.isTrue
(Expression<Boolean> x) Create a predicate testing for a true value.CriteriaBuilder.le
(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than or equal to the second.CriteriaBuilder.le
(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than or equal to the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.lessThan
(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.lessThan
(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.lessThanOrEqualTo
(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than or equal to the second.<Y extends Comparable<? super Y>>
PredicateCriteriaBuilder.lessThanOrEqualTo
(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than or equal to the second.CriteriaBuilder.like
(Expression<String> x, Expression<String> pattern) Create a predicate for testing whether the expression satisfies the given pattern.CriteriaBuilder.like
(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.CriteriaBuilder.like
(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.CriteriaBuilder.like
(Expression<String> x, String pattern) Create a predicate for testing whether the expression satisfies the given pattern.CriteriaBuilder.like
(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.CriteriaBuilder.like
(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.CriteriaBuilder.lt
(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than the second.CriteriaBuilder.lt
(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than the second.CriteriaBuilder.not
(Expression<Boolean> restriction) Create a negation of the given restriction.Predicate.not()
Create a negation of the predicate.CriteriaBuilder.notEqual
(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for inequality.CriteriaBuilder.notEqual
(Expression<?> x, Object y) Create a predicate for testing the arguments for inequality.Expression.notEqualTo
(Expression<?> value) Create a predicate to test whether the expression is unequal to the argument.Expression.notEqualTo
(Object value) Create a predicate to test whether the expression is unequal to the argument.CriteriaBuilder.notLike
(Expression<String> x, Expression<String> pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.CriteriaBuilder.notLike
(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.CriteriaBuilder.notLike
(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.CriteriaBuilder.notLike
(Expression<String> x, String pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.CriteriaBuilder.notLike
(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.CriteriaBuilder.notLike
(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.CriteriaBuilder.or
(Expression<Boolean> x, Expression<Boolean> y) Create a disjunction of the given boolean expressions.Create a disjunction of the given restriction predicates.Create a disjunction of the given restriction predicates.Methods in jakarta.persistence.criteria with parameters of type PredicateModifier and TypeMethodDescriptionCreate a conjunction of the given restriction predicates.Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates.Modify the join to restrict the result according to the specified ON condition and return the join object.Modify the join to restrict the result according to the specified ON condition and return the join object.Modify the join to restrict the result according to the specified ON condition and return the join object.Modify the join to restrict the result according to the specified ON condition and return the join object.Modify the join to restrict the result according to the specified ON condition and return the join object.Create a disjunction of the given restriction predicates.Modify the query to restrict the query results according to the conjunction of the specified restriction predicates.Modify the DELETE query to restrict the target of the deletion according to the conjunction of the specified restriction predicates.Modify the query to restrict the query result according to the conjunction of the specified restriction predicates.Modify the update query to restrict the target of the update according to the conjunction of the specified restriction predicates.Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates.Method parameters in jakarta.persistence.criteria with type arguments of type PredicateModifier and TypeMethodDescriptionCreate a conjunction of the given restriction predicates.Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.Create a disjunction of the given restriction predicates.Modify the query to restrict the query result according to the conjunction of the specified restriction predicates.Modify the query to restrict the query result according to the conjunction of the specified restriction predicates.Modify the query to restrict the query result according to the conjunction of the specified restriction predicates.