|
||||||||||
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.expression.AbstractTupleElement<X> org.hibernate.ejb.criteria.expression.SelectionImpl<T> org.hibernate.ejb.criteria.expression.ExpressionImpl<T> org.hibernate.ejb.criteria.CriteriaSubqueryImpl<T>
public class CriteriaSubqueryImpl<T>
The Hibernate implementation of the JPA Subquery
contract. Mostlty a set of delegation to its internal
QueryStructure
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.hibernate.ejb.criteria.ParameterContainer |
---|
ParameterContainer.Helper |
Constructor Summary | |
---|---|
CriteriaSubqueryImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType,
javax.persistence.criteria.AbstractQuery<?> parent)
|
Methods inherited from class org.hibernate.ejb.criteria.expression.ExpressionImpl |
---|
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull |
Methods inherited from class org.hibernate.ejb.criteria.expression.SelectionImpl |
---|
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection |
Methods inherited from class org.hibernate.ejb.criteria.expression.AbstractTupleElement |
---|
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias |
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 |
Methods inherited from interface javax.persistence.criteria.Expression |
---|
as, in, in, in, in, isNotNull, isNull |
Methods inherited from interface javax.persistence.criteria.Selection |
---|
alias, getCompoundSelectionItems, isCompoundSelection |
Methods inherited from interface javax.persistence.TupleElement |
---|
getAlias, getJavaType |
Methods inherited from interface org.hibernate.ejb.criteria.SelectionImplementor |
---|
getValueHandlers |
Methods inherited from interface org.hibernate.ejb.criteria.TupleElementImplementor |
---|
getValueHandler |
Constructor Detail |
---|
public CriteriaSubqueryImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType, javax.persistence.criteria.AbstractQuery<?> parent)
Method Detail |
---|
public javax.persistence.criteria.AbstractQuery<?> getParent()
getParent
in interface javax.persistence.criteria.Subquery<T>
public void registerParameters(ParameterRegistry registry)
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public Class<T> getResultType()
getResultType
in interface javax.persistence.criteria.AbstractQuery<T>
public Set<javax.persistence.criteria.Root<?>> getRoots()
getRoots
in interface javax.persistence.criteria.AbstractQuery<T>
public <X> javax.persistence.criteria.Root<X> from(javax.persistence.metamodel.EntityType<X> entityType)
from
in interface javax.persistence.criteria.AbstractQuery<T>
public <X> javax.persistence.criteria.Root<X> from(Class<X> entityClass)
from
in interface javax.persistence.criteria.AbstractQuery<T>
public javax.persistence.criteria.Subquery<T> distinct(boolean applyDistinction)
distinct
in interface javax.persistence.criteria.AbstractQuery<T>
distinct
in interface javax.persistence.criteria.Subquery<T>
public boolean isDistinct()
isDistinct
in interface javax.persistence.criteria.AbstractQuery<T>
public javax.persistence.criteria.Expression<T> getSelection()
getSelection
in interface javax.persistence.criteria.AbstractQuery<T>
getSelection
in interface javax.persistence.criteria.Subquery<T>
public javax.persistence.criteria.Subquery<T> select(javax.persistence.criteria.Expression<T> expression)
select
in interface javax.persistence.criteria.Subquery<T>
public javax.persistence.criteria.Predicate getRestriction()
getRestriction
in interface javax.persistence.criteria.AbstractQuery<T>
public javax.persistence.criteria.Subquery<T> where(javax.persistence.criteria.Expression<Boolean> expression)
where
in interface javax.persistence.criteria.AbstractQuery<T>
where
in interface javax.persistence.criteria.Subquery<T>
public javax.persistence.criteria.Subquery<T> where(javax.persistence.criteria.Predicate... predicates)
where
in interface javax.persistence.criteria.AbstractQuery<T>
where
in interface javax.persistence.criteria.Subquery<T>
public List<javax.persistence.criteria.Expression<?>> getGroupList()
getGroupList
in interface javax.persistence.criteria.AbstractQuery<T>
public javax.persistence.criteria.Subquery<T> groupBy(javax.persistence.criteria.Expression<?>... groupings)
groupBy
in interface javax.persistence.criteria.AbstractQuery<T>
groupBy
in interface javax.persistence.criteria.Subquery<T>
public javax.persistence.criteria.Subquery<T> groupBy(List<javax.persistence.criteria.Expression<?>> groupings)
groupBy
in interface javax.persistence.criteria.AbstractQuery<T>
groupBy
in interface javax.persistence.criteria.Subquery<T>
public javax.persistence.criteria.Predicate getGroupRestriction()
getGroupRestriction
in interface javax.persistence.criteria.AbstractQuery<T>
public javax.persistence.criteria.Subquery<T> having(javax.persistence.criteria.Expression<Boolean> expression)
having
in interface javax.persistence.criteria.AbstractQuery<T>
having
in interface javax.persistence.criteria.Subquery<T>
public javax.persistence.criteria.Subquery<T> having(javax.persistence.criteria.Predicate... predicates)
having
in interface javax.persistence.criteria.AbstractQuery<T>
having
in interface javax.persistence.criteria.Subquery<T>
public Set<javax.persistence.criteria.Join<?,?>> getCorrelatedJoins()
getCorrelatedJoins
in interface javax.persistence.criteria.Subquery<T>
public <Y> javax.persistence.criteria.Root<Y> correlate(javax.persistence.criteria.Root<Y> source)
correlate
in interface javax.persistence.criteria.Subquery<T>
public <X,Y> javax.persistence.criteria.Join<X,Y> correlate(javax.persistence.criteria.Join<X,Y> source)
correlate
in interface javax.persistence.criteria.Subquery<T>
public <X,Y> javax.persistence.criteria.CollectionJoin<X,Y> correlate(javax.persistence.criteria.CollectionJoin<X,Y> source)
correlate
in interface javax.persistence.criteria.Subquery<T>
public <X,Y> javax.persistence.criteria.SetJoin<X,Y> correlate(javax.persistence.criteria.SetJoin<X,Y> source)
correlate
in interface javax.persistence.criteria.Subquery<T>
public <X,Y> javax.persistence.criteria.ListJoin<X,Y> correlate(javax.persistence.criteria.ListJoin<X,Y> source)
correlate
in interface javax.persistence.criteria.Subquery<T>
public <X,K,V> javax.persistence.criteria.MapJoin<X,K,V> correlate(javax.persistence.criteria.MapJoin<X,K,V> source)
correlate
in interface javax.persistence.criteria.Subquery<T>
public <U> javax.persistence.criteria.Subquery<U> subquery(Class<U> subqueryType)
subquery
in interface javax.persistence.criteria.AbstractQuery<T>
public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection
in interface Renderable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |