19 package org.turro.jpa.query;
21 import java.util.List;
22 import javax.persistence.criteria.AbstractQuery;
23 import javax.persistence.criteria.CriteriaQuery;
24 import javax.persistence.criteria.Expression;
25 import javax.persistence.criteria.Predicate;
34 protected AbstractQuery<E>
query;
52 public CriteriaQuery<E>
query() {
53 return (CriteriaQuery<E>)
query;
60 query.where(restriction);
65 query.where(restrictions);
70 query.groupBy(grouping);
75 query.groupBy(grouping);
80 query.having(restriction);
85 query.having(restrictions);
AbstractJpaQuery< E > where(Expression< Boolean > restriction)
AbstractJpaQuery< E > having(Expression< Boolean > restriction)
abstract AbstractJpaQuery< E > select(String... columns)
final Class< E > persistentClass
abstract AbstractJpaQuery< E > select()
AbstractJpaQuery< E > having(Predicate... restrictions)
AbstractJpaQuery< E > groupBy(Expression<?>... grouping)
AbstractJpaQuery< E > distinct(boolean distinct)
AbstractJpaQuery< E > where(Predicate... restrictions)
AbstractJpaQuery(Class< E > persistentClass)
CriteriaQuery< E > query()
AbstractJpaQuery< E > groupBy(List< Expression<?>> grouping)