Package | Description |
---|---|
org.apache.deltaspike.data.api.criteria |
Modifier and Type | Method and Description |
---|---|
<P extends Comparable<? super P>> |
Criteria.between(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P lower,
P upper)
Between predicate.
|
Criteria<E,E> |
CriteriaSupport.criteria()
Create a
Criteria instance. |
Criteria<C,R> |
Criteria.distinct()
Apply a distinct on the query.
|
<P extends Collection<?>> |
Criteria.empty(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
Empty predicate.
|
<P> Criteria<C,R> |
Criteria.eq(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P value)
Equals predicate.
|
<P,E> Criteria<C,R> |
Criteria.fetch(javax.persistence.metamodel.PluralAttribute<? super C,P,E> att)
Fetch join an attribute.
|
<P,E> Criteria<C,R> |
Criteria.fetch(javax.persistence.metamodel.PluralAttribute<? super C,P,E> att,
javax.persistence.criteria.JoinType joinType)
Fetch join an attribute.
|
<P,E> Criteria<C,R> |
Criteria.fetch(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
Fetch join an attribute.
|
<P,E> Criteria<C,R> |
Criteria.fetch(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
javax.persistence.criteria.JoinType joinType)
Fetch join an attribute.
|
<P extends Comparable<? super P>> |
Criteria.gt(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P value)
Greater than predicate.
|
<P extends Comparable<? super P>> |
Criteria.gtOrEq(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P value)
Greater than or equals predicate.
|
<P> Criteria<C,R> |
Criteria.in(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P... values)
In predicte.
|
<P> Criteria<C,R> |
Criteria.isNull(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
IsNull predicate.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.CollectionAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.ListAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.MapAttribute<? super C,E,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.SetAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join an attribute with another Criteria.
|
<P> Criteria<C,R> |
Criteria.like(javax.persistence.metamodel.SingularAttribute<? super C,String> att,
String value)
Like predicate.
|
<P extends Comparable<? super P>> |
Criteria.lt(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P value)
Less than predicate.
|
<P extends Comparable<? super P>> |
Criteria.ltOrEq(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P value)
Less than or equals predicate.
|
<P extends Collection<?>> |
Criteria.notEmpty(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
Not empty predicate.
|
<P> Criteria<C,R> |
Criteria.notEq(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
P value)
Not Equals predicate.
|
<P> Criteria<C,R> |
Criteria.notLike(javax.persistence.metamodel.SingularAttribute<? super C,String> att,
String value)
Not like predicate.
|
<P> Criteria<C,R> |
Criteria.notNull(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
NotNull predicate.
|
Criteria<C,R> |
Criteria.or(Collection<Criteria<C,R>> criteria)
Boolean OR with another Criteria.
|
Criteria<C,R> |
Criteria.or(Criteria<C,R>... criteria)
Boolean OR with another Criteria.
|
<P> Criteria<C,R> |
Criteria.orderAsc(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
Apply sorting by an attribute, ascending direction.
|
<P> Criteria<C,R> |
Criteria.orderDesc(javax.persistence.metamodel.SingularAttribute<? super C,P> att)
Apply sorting by an attribute, descending direction.
|
<N> Criteria<C,N> |
Criteria.select(Class<N> resultClass,
QuerySelection<? super C,?>... selection)
Create a select query.
|
Criteria<C,Object[]> |
Criteria.select(QuerySelection<? super C,?>... selection)
Create a select query.
|
<T> Criteria<T,T> |
CriteriaSupport.where(Class<T> clazz)
Create a
Criteria instance. |
<T> Criteria<T,T> |
CriteriaSupport.where(Class<T> clazz,
javax.persistence.criteria.JoinType joinType)
Create a
Criteria instance with a join type. |
Modifier and Type | Method and Description |
---|---|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.CollectionAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.ListAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.MapAttribute<? super C,E,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.SetAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join a collection attribute with another Criteria.
|
<P,E> Criteria<C,R> |
Criteria.join(javax.persistence.metamodel.SingularAttribute<? super C,P> att,
Criteria<P,P> criteria)
Join an attribute with another Criteria.
|
Criteria<C,R> |
Criteria.or(Criteria<C,R>... criteria)
Boolean OR with another Criteria.
|
Modifier and Type | Method and Description |
---|---|
Criteria<C,R> |
Criteria.or(Collection<Criteria<C,R>> criteria)
Boolean OR with another Criteria.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.