|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.criteria.AbstractNode org.hibernate.ejb.criteria.CriteriaQueryImpl<T>
public class CriteriaQueryImpl<T>
The Hibernate implementation of the JPA CriteriaQuery
contract. Mostly a set of delegation to its
internal QueryStructure
.
Constructor Summary | |
---|---|
CriteriaQueryImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> returnType)
|
Methods inherited from class org.hibernate.ejb.criteria.AbstractNode |
---|
criteriaBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CriteriaQueryImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> returnType)
Method Detail |
---|
public Class<T> getResultType()
getResultType
in interface AbstractQuery<T>
public CriteriaQuery<T> distinct(boolean applyDistinction)
distinct
in interface AbstractQuery<T>
distinct
in interface CriteriaQuery<T>
public boolean isDistinct()
isDistinct
in interface AbstractQuery<T>
public Selection<T> getSelection()
getSelection
in interface AbstractQuery<T>
public void applySelection(Selection<? extends T> selection)
public CriteriaQuery<T> select(Selection<? extends T> selection)
select
in interface CriteriaQuery<T>
public CriteriaQuery<T> multiselect(Selection<?>... selections)
multiselect
in interface CriteriaQuery<T>
public CriteriaQuery<T> multiselect(List<Selection<?>> selections)
multiselect
in interface CriteriaQuery<T>
public Set<Root<?>> getRoots()
getRoots
in interface AbstractQuery<T>
public <X> Root<X> from(EntityType<X> entityType)
from
in interface AbstractQuery<T>
public <X> Root<X> from(Class<X> entityClass)
from
in interface AbstractQuery<T>
public Predicate getRestriction()
getRestriction
in interface AbstractQuery<T>
public CriteriaQuery<T> where(Expression<Boolean> expression)
where
in interface AbstractQuery<T>
where
in interface CriteriaQuery<T>
public CriteriaQuery<T> where(Predicate... predicates)
where
in interface AbstractQuery<T>
where
in interface CriteriaQuery<T>
public List<Expression<?>> getGroupList()
getGroupList
in interface AbstractQuery<T>
public CriteriaQuery<T> groupBy(Expression<?>... groupings)
groupBy
in interface AbstractQuery<T>
groupBy
in interface CriteriaQuery<T>
public CriteriaQuery<T> groupBy(List<Expression<?>> groupings)
groupBy
in interface AbstractQuery<T>
groupBy
in interface CriteriaQuery<T>
public Predicate getGroupRestriction()
getGroupRestriction
in interface AbstractQuery<T>
public CriteriaQuery<T> having(Expression<Boolean> expression)
having
in interface AbstractQuery<T>
having
in interface CriteriaQuery<T>
public CriteriaQuery<T> having(Predicate... predicates)
having
in interface AbstractQuery<T>
having
in interface CriteriaQuery<T>
public List<Order> getOrderList()
getOrderList
in interface CriteriaQuery<T>
public CriteriaQuery<T> orderBy(Order... orders)
orderBy
in interface CriteriaQuery<T>
public CriteriaQuery<T> orderBy(List<Order> orders)
orderBy
in interface CriteriaQuery<T>
public Set<ParameterExpression<?>> getParameters()
getParameters
in interface CriteriaQuery<T>
public <U> Subquery<U> subquery(Class<U> subqueryType)
subquery
in interface AbstractQuery<T>
public void validate()
public CriteriaQueryCompiler.RenderedCriteriaQuery render(CriteriaQueryCompiler.RenderingContext renderingContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |