Uses of Interface
jakarta.persistence.criteria.Predicate
Packages that use Predicate
Package
Description
Jakarta Persistence Criteria API
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
SPI for extending
HibernateCriteriaBuilder
with additional functionality by registering a Service.This package defines a semantic model of HQL queries.
Package for the SQM-backed Query implementation details
This package contains the classes that make up the SQM tree nodes.
Nodes representing
delete statements in the SQM tree.Nodes representing path expressions in the SQM tree.
Nodes representing root entities and joins in the SQM tree.
Nodes representing
insert statements in the SQM tree.Nodes representing logical predicates in the SQM tree.
Nodes representing
select statements in the SQM tree.Nodes representing
update statements in the SQM tree.-
Uses of Predicate in jakarta.persistence.criteria
Subinterfaces of Predicate in jakarta.persistence.criteriaModifier and TypeInterfaceDescriptionstatic interfaceInterface 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.<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.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.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.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. -
Uses of Predicate in org.hibernate.query.criteria
Subinterfaces of Predicate in org.hibernate.query.criteriaMethods in org.hibernate.query.criteria with parameters of type PredicateModifier and TypeMethodDescriptionJpaMapJoin<O,K, V> JpaPluralJoin<O,? extends C, E> JpaSetJoin<O,T> JpaQueryStructure.setGroupRestriction(Predicate... restrictions) JpaQueryStructure.setRestriction(Predicate... restrictions) Modify the update query to restrict the target of the update according to the conjunction of the specified restriction predicates. -
Uses of Predicate in org.hibernate.query.criteria.spi
Methods in org.hibernate.query.criteria.spi with parameters of type PredicateModifier and TypeMethodDescription -
Uses of Predicate in org.hibernate.query.sqm
Methods in org.hibernate.query.sqm with parameters of type PredicateModifier and TypeMethodDescription -
Uses of Predicate in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type PredicateModifier and TypeMethodDescription -
Uses of Predicate in org.hibernate.query.sqm.tree
Methods in org.hibernate.query.sqm.tree with parameters of type Predicate -
Uses of Predicate in org.hibernate.query.sqm.tree.delete
Methods in org.hibernate.query.sqm.tree.delete with parameters of type PredicateModifier and TypeMethodDescription -
Uses of Predicate in org.hibernate.query.sqm.tree.domain
Methods in org.hibernate.query.sqm.tree.domain that return PredicateModifier and TypeMethodDescriptionSqmMapEntryReference.in(Expression<?>... values) SqmMapEntryReference.in(Expression<Collection<?>> values) SqmMapEntryReference.in(Collection<?> values) SqmMapEntryReference.isNotNull()SqmMapEntryReference.isNull()Methods in org.hibernate.query.sqm.tree.domain with parameters of type Predicate -
Uses of Predicate in org.hibernate.query.sqm.tree.from
Methods in org.hibernate.query.sqm.tree.from with parameters of type PredicateModifier and TypeMethodDescription -
Uses of Predicate in org.hibernate.query.sqm.tree.insert
Methods in org.hibernate.query.sqm.tree.insert with parameters of type PredicateModifier and TypeMethodDescription -
Uses of Predicate in org.hibernate.query.sqm.tree.predicate
Subinterfaces of Predicate in org.hibernate.query.sqm.tree.predicateModifier and TypeInterfaceDescriptioninterfaceinterfaceContract for predicates that have a negated form, e.g.interfaceClasses in org.hibernate.query.sqm.tree.predicate that implement PredicateModifier and TypeClassDescriptionclassclassclassclassRepresents an expression whose type is boolean, and can therefore be used as a predicate.classclassclassclassclassclassclassclassclassclassclassclass -
Uses of Predicate in org.hibernate.query.sqm.tree.select
Methods in org.hibernate.query.sqm.tree.select with parameters of type PredicateModifier and TypeMethodDescriptionSqmQuerySpec.setGroupRestriction(Predicate... restrictions) SqmQuerySpec.setRestriction(Predicate... restrictions) -
Uses of Predicate in org.hibernate.query.sqm.tree.update
Methods in org.hibernate.query.sqm.tree.update with parameters of type PredicateModifier and TypeMethodDescription