Uses of Interface
javax.persistence.criteria.Predicate

Packages that use Predicate
javax.persistence.criteria   
 

Uses of Predicate in javax.persistence.criteria
 

Subinterfaces of Predicate in javax.persistence.criteria
static interface CriteriaBuilder.In<T>
          Interface used to build in predicates.
 

Methods in javax.persistence.criteria that return Predicate
 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>>
Predicate
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>>
Predicate
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 AbstractQuery.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>>
Predicate
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>>
Predicate
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>>
Predicate
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>>
Predicate
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<?>>
Predicate
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>>
Predicate
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>>
Predicate
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<?>>
Predicate
CriteriaBuilder.isNotEmpty(Expression<C> collection)
          Create a predicate that tests whether a collection is not empty.
<E,C extends Collection<E>>
Predicate
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>>
Predicate
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>>
Predicate
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>>
Predicate
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>>
Predicate
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>>
Predicate
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.
 

Methods in javax.persistence.criteria with parameters of type Predicate
 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.
 CriteriaQuery<T> CriteriaQuery.having(Predicate... restrictions)
          Specify restrictions over the groups of the query 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.
 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.
 CriteriaQuery<T> CriteriaQuery.where(Predicate... restrictions)
          Modify the query to restrict the query 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.
 



Copyright © 2007-2010 Hibernate.org. All Rights Reserved.