javax.persistence.criteria
Interface AbstractQuery<T>
- All Known Subinterfaces:
- CriteriaQuery<T>, Subquery<T>
public interface AbstractQuery<T>
from
<X> Root<X> from(Class<X> entityClass)
from
<X> Root<X> from(EntityType<X> entity)
where
AbstractQuery<T> where(Expression<Boolean> restriction)
where
AbstractQuery<T> where(Predicate... restrictions)
groupBy
AbstractQuery<T> groupBy(Expression<?>... grouping)
groupBy
AbstractQuery<T> groupBy(List<Expression<?>> grouping)
having
AbstractQuery<T> having(Expression<Boolean> restriction)
having
AbstractQuery<T> having(Predicate... restrictions)
distinct
AbstractQuery<T> distinct(boolean distinct)
subquery
<U> Subquery<U> subquery(Class<U> type)
getRoots
Set<Root<?>> getRoots()
getSelection
Selection<T> getSelection()
getRestriction
Predicate getRestriction()
getGroupList
List<Expression<?>> getGroupList()
getGroupRestriction
Predicate getGroupRestriction()
isDistinct
boolean isDistinct()
getResultType
Class<T> getResultType()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.