Package | Description |
---|---|
org.apache.deltaspike.data.api.criteria |
Modifier and Type | Method and Description |
---|---|
<N extends Number> |
CriteriaSupport.abs(javax.persistence.metamodel.SingularAttribute<? super E,N> attribute)
Create a query selection for the
CriteriaBuilder.abs(javax.persistence.criteria.Expression)
over an attribute. |
<X> QuerySelection<E,X> |
CriteriaSupport.attribute(javax.persistence.metamodel.SingularAttribute<? super E,X> attribute)
Create a query selection for an Entity attribute.
|
<N extends Number> |
CriteriaSupport.avg(javax.persistence.metamodel.SingularAttribute<? super E,N> attribute)
Create a query selection for the
CriteriaBuilder.avg(javax.persistence.criteria.Expression)
over an attribute. |
QuerySelection<E,Long> |
CriteriaSupport.count(javax.persistence.metamodel.SingularAttribute<? super E,?> attribute)
Create a query selection for the
CriteriaBuilder.count(javax.persistence.criteria.Expression)
over an attribute. |
QuerySelection<E,Long> |
CriteriaSupport.countDistinct(javax.persistence.metamodel.SingularAttribute<? super E,?> attribute)
Create a query selection for the
CriteriaBuilder.countDistinct(javax.persistence.criteria.Expression)
over an attribute. |
QuerySelection<E,Date> |
CriteriaSupport.currDate()
Create a query selection for the
CriteriaBuilder.currentDate() . |
QuerySelection<E,Time> |
CriteriaSupport.currTime()
Create a query selection for the
CriteriaBuilder.currentTime() . |
QuerySelection<E,Timestamp> |
CriteriaSupport.currTStamp()
Create a query selection for the
CriteriaBuilder.currentTimestamp() . |
QuerySelection<E,String> |
CriteriaSupport.lower(javax.persistence.metamodel.SingularAttribute<? super E,String> attribute)
Create a query selection for the
CriteriaBuilder.lower(javax.persistence.criteria.Expression)
over a String attribute. |
<N extends Number> |
CriteriaSupport.max(javax.persistence.metamodel.SingularAttribute<? super E,N> attribute)
Create a query selection for the
CriteriaBuilder.max(javax.persistence.criteria.Expression)
over an attribute. |
<N extends Number> |
CriteriaSupport.min(javax.persistence.metamodel.SingularAttribute<? super E,N> attribute)
Create a query selection for the
CriteriaBuilder.min(javax.persistence.criteria.Expression)
over an attribute. |
QuerySelection<E,Integer> |
CriteriaSupport.modulo(javax.persistence.metamodel.SingularAttribute<? super E,Integer> attribute,
Integer modulo)
Create a query selection for the
CriteriaBuilder.mod(javax.persistence.criteria.Expression, Integer)
for an attribute. |
<N extends Number> |
CriteriaSupport.neg(javax.persistence.metamodel.SingularAttribute<? super E,N> attribute)
Create a query selection for the
CriteriaBuilder.neg(javax.persistence.criteria.Expression)
over an attribute. |
QuerySelection<E,String> |
CriteriaSupport.substring(javax.persistence.metamodel.SingularAttribute<? super E,String> attribute,
int from)
Create a query selection for the
CriteriaBuilder.substring(javax.persistence.criteria.Expression, int)
over a String attribute. |
QuerySelection<E,String> |
CriteriaSupport.substring(javax.persistence.metamodel.SingularAttribute<? super E,String> attribute,
int from,
int length)
Create a query selection for the
CriteriaBuilder.substring(javax.persistence.criteria.Expression, int, int)
over a String attribute. |
<N extends Number> |
CriteriaSupport.sum(javax.persistence.metamodel.SingularAttribute<? super E,N> attribute)
Create a query selection for the
CriteriaBuilder.sum(javax.persistence.criteria.Expression)
over an attribute. |
QuerySelection<E,String> |
CriteriaSupport.trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec,
javax.persistence.metamodel.SingularAttribute<? super E,String> attribute)
Create a query selection for the
CriteriaBuilder.trim(javax.persistence.criteria.CriteriaBuilder.Trimspec,
javax.persistence.criteria.Expression)
over a String attribute. |
QuerySelection<E,String> |
CriteriaSupport.trim(javax.persistence.metamodel.SingularAttribute<? super E,String> attribute)
Create a query selection for the
CriteriaBuilder.trim(javax.persistence.criteria.Expression)
over a String attribute. |
QuerySelection<E,String> |
CriteriaSupport.upper(javax.persistence.metamodel.SingularAttribute<? super E,String> attribute)
Create a query selection for the
CriteriaBuilder.upper(javax.persistence.criteria.Expression)
over a String attribute. |
Modifier and Type | Method and Description |
---|---|
<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.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.