Package | Description |
---|---|
javax.persistence.criteria |
Modifier and Type | Interface and Description |
---|---|
static interface |
CriteriaBuilder.In<T>
Interface used to build in predicates.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
CriteriaBuilder.and(Expression<Boolean> x,
Expression<Boolean> y)
Create a conjunction of the given boolean expressions.
|
Predicate |
CriteriaBuilder.and(Predicate... restrictions)
Create a conjunction of the given restriction predicates.
|
<Y extends Comparable<? super Y>> |
CriteriaBuilder.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>> |
CriteriaBuilder.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.
|
Predicate |
CriteriaBuilder.conjunction()
Create a conjunction (with zero conjuncts).
|
Predicate |
CriteriaBuilder.disjunction()
Create a disjunction (with zero disjuncts).
|
Predicate |
CriteriaBuilder.equal(Expression<?> x,
Expression<?> y)
Create a predicate for testing the arguments for equality.
|
Predicate |
CriteriaBuilder.equal(Expression<?> x,
Object y)
Create a predicate for testing the arguments for equality.
|
Predicate |
CriteriaBuilder.exists(Subquery<?> subquery)
Create a predicate testing the existence of a subquery result.
|
Predicate |
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.
|
Predicate |
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.
|
Predicate |
AbstractQuery.getGroupRestriction()
Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no
restrictions have been specified.
|
Predicate |
Join.getOn()
Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition
has been specified.
|
Predicate |
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>> |
CriteriaBuilder.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>> |
CriteriaBuilder.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>> |
CriteriaBuilder.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>> |
CriteriaBuilder.greaterThanOrEqualTo(Expression<? extends Y> x,
Y y)
Create a predicate for testing whether the first argument is greater than or equal to the second.
|
Predicate |
CriteriaBuilder.gt(Expression<? extends Number> x,
Expression<? extends Number> y)
Create a predicate for testing whether the first argument is greater than the second.
|
Predicate |
CriteriaBuilder.gt(Expression<? extends Number> x,
Number y)
Create a predicate for testing whether the first argument is greater than the second.
|
Predicate |
Expression.in(Collection<?> values)
Create a predicate to test whether the expression is a member of the collection.
|
Predicate |
Expression.in(Expression<?>... values)
Create a predicate to test whether the expression is a member of the argument list.
|
Predicate |
Expression.in(Expression<Collection<?>> values)
Create a predicate to test whether the expression is a member of the collection.
|
Predicate |
Expression.in(Object... values)
Create a predicate to test whether the expression is a member of the argument list.
|
<C extends Collection<?>> |
CriteriaBuilder.isEmpty(Expression<C> collection)
Create a predicate that tests whether a collection is empty.
|
Predicate |
CriteriaBuilder.isFalse(Expression<Boolean> x)
Create a predicate testing for a false value.
|
<E,C extends Collection<E>> |
CriteriaBuilder.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>> |
CriteriaBuilder.isMember(Expression<E> elem,
Expression<C> collection)
Create a predicate that tests whether an element is a member of a collection.
|
<C extends Collection<?>> |
CriteriaBuilder.isNotEmpty(Expression<C> collection)
Create a predicate that tests whether a collection is not empty.
|
<E,C extends Collection<E>> |
CriteriaBuilder.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>> |
CriteriaBuilder.isNotMember(Expression<E> elem,
Expression<C> collection)
Create a predicate that tests whether an element is not a member of a collection.
|
Predicate |
Expression.isNotNull()
Create a predicate to test whether the expression is not null.
|
Predicate |
CriteriaBuilder.isNotNull(Expression<?> x)
Create a predicate to test whether the expression is not null.
|
Predicate |
Expression.isNull()
Create a predicate to test whether the expression is null.
|
Predicate |
CriteriaBuilder.isNull(Expression<?> x)
Create a predicate to test whether the expression is null.
|
Predicate |
CriteriaBuilder.isTrue(Expression<Boolean> x)
Create a predicate testing for a true value.
|
Predicate |
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.
|
Predicate |
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>> |
CriteriaBuilder.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>> |
CriteriaBuilder.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>> |
CriteriaBuilder.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>> |
CriteriaBuilder.lessThanOrEqualTo(Expression<? extends Y> x,
Y y)
Create a predicate for testing whether the first argument is less than or equal to the second.
|
Predicate |
CriteriaBuilder.like(Expression<String> x,
Expression<String> pattern)
Create a predicate for testing whether the expression satisfies the given pattern.
|
Predicate |
CriteriaBuilder.like(Expression<String> x,
Expression<String> pattern,
char escapeChar)
Create a predicate for testing whether the expression satisfies the given pattern.
|
Predicate |
CriteriaBuilder.like(Expression<String> x,
Expression<String> pattern,
Expression<Character> escapeChar)
Create a predicate for testing whether the expression satisfies the given pattern.
|
Predicate |
CriteriaBuilder.like(Expression<String> x,
String pattern)
Create a predicate for testing whether the expression satisfies the given pattern.
|
Predicate |
CriteriaBuilder.like(Expression<String> x,
String pattern,
char escapeChar)
Create a predicate for testing whether the expression satisfies the given pattern.
|
Predicate |
CriteriaBuilder.like(Expression<String> x,
String pattern,
Expression<Character> escapeChar)
Create a predicate for testing whether the expression satisfies the given pattern.
|
Predicate |
CriteriaBuilder.lt(Expression<? extends Number> x,
Expression<? extends Number> y)
Create a predicate for testing whether the first argument is less than the second.
|
Predicate |
CriteriaBuilder.lt(Expression<? extends Number> x,
Number y)
Create a predicate for testing whether the first argument is less than the second.
|
Predicate |
Predicate.not()
Create a negation of the predicate.
|
Predicate |
CriteriaBuilder.not(Expression<Boolean> restriction)
Create a negation of the given restriction.
|
Predicate |
CriteriaBuilder.notEqual(Expression<?> x,
Expression<?> y)
Create a predicate for testing the arguments for inequality.
|
Predicate |
CriteriaBuilder.notEqual(Expression<?> x,
Object y)
Create a predicate for testing the arguments for inequality.
|
Predicate |
CriteriaBuilder.notLike(Expression<String> x,
Expression<String> pattern)
Create a predicate for testing whether the expression does not satisfy the given pattern.
|
Predicate |
CriteriaBuilder.notLike(Expression<String> x,
Expression<String> pattern,
char escapeChar)
Create a predicate for testing whether the expression does not satisfy the given pattern.
|
Predicate |
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.
|
Predicate |
CriteriaBuilder.notLike(Expression<String> x,
String pattern)
Create a predicate for testing whether the expression does not satisfy the given pattern.
|
Predicate |
CriteriaBuilder.notLike(Expression<String> x,
String pattern,
char escapeChar)
Create a predicate for testing whether the expression does not satisfy the given pattern.
|
Predicate |
CriteriaBuilder.notLike(Expression<String> x,
String pattern,
Expression<Character> escapeChar)
Create a predicate for testing whether the expression does not satisfy the given pattern.
|
Predicate |
CriteriaBuilder.or(Expression<Boolean> x,
Expression<Boolean> y)
Create a disjunction of the given boolean expressions.
|
Predicate |
CriteriaBuilder.or(Predicate... restrictions)
Create a disjunction of the given restriction predicates.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
CriteriaBuilder.and(Predicate... restrictions)
Create a conjunction of the given restriction predicates.
|
Subquery<T> |
Subquery.having(Predicate... restrictions)
Specify restrictions over the groups of the subquery according the conjunction of the specified
restriction predicates.
|
AbstractQuery<T> |
AbstractQuery.having(Predicate... restrictions)
Specify restrictions over the groups of the query according the conjunction of the specified
restriction predicates.
|
CriteriaQuery<T> |
CriteriaQuery.having(Predicate... restrictions)
Specify restrictions over the groups of the query
according the conjunction of the specified restriction
predicates.
|
Join<Z,X> |
Join.on(Predicate... restrictions)
Modify the join to restrict the result according to the specified ON condition.
|
CollectionJoin<Z,E> |
CollectionJoin.on(Predicate... restrictions)
Modify the join to restrict the result according to the specified ON condition.
|
SetJoin<Z,E> |
SetJoin.on(Predicate... restrictions)
Modify the join to restrict the result according to the specified ON condition.
|
ListJoin<Z,E> |
ListJoin.on(Predicate... restrictions)
Modify the join to restrict the result according to the specified ON condition.
|
MapJoin<Z,K,V> |
MapJoin.on(Predicate... restrictions)
Modify the join to restrict the result according to the specified ON condition.
|
Predicate |
CriteriaBuilder.or(Predicate... restrictions)
Create a disjunction of the given restriction predicates.
|
Subquery<T> |
Subquery.where(Predicate... restrictions)
Modify the subquery to restrict the result according to the conjunction of the specified restriction
predicates.
|
AbstractQuery<T> |
AbstractQuery.where(Predicate... restrictions)
Modify the query to restrict the query results according to the conjunction of the specified
restriction predicates.
|
CriteriaUpdate<T> |
CriteriaUpdate.where(Predicate... restrictions)
Modify the query to restrict the target of the update according to the conjunction of the specified
restriction predicates.
|
CriteriaQuery<T> |
CriteriaQuery.where(Predicate... restrictions)
Modify the query to restrict the query result according
to the conjunction of the specified restriction predicates.
|
CriteriaDelete<T> |
CriteriaDelete.where(Predicate... restrictions)
Modify the query to restrict the target of the deletion according to the conjunction of the specified
restriction predicates.
|
Copyright © 2020. All rights reserved.