|
||||||||||
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,
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, AbstractQuery<?> parent)
Method Detail |
---|
public AbstractQuery<?> getParent()
getParent
in interface 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 AbstractQuery<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 Subquery<T> distinct(boolean applyDistinction)
distinct
in interface AbstractQuery<T>
distinct
in interface Subquery<T>
public boolean isDistinct()
isDistinct
in interface AbstractQuery<T>
public Expression<T> getSelection()
getSelection
in interface AbstractQuery<T>
getSelection
in interface Subquery<T>
public Subquery<T> select(Expression<T> expression)
select
in interface Subquery<T>
public Predicate getRestriction()
getRestriction
in interface AbstractQuery<T>
public Subquery<T> where(Expression<Boolean> expression)
where
in interface AbstractQuery<T>
where
in interface Subquery<T>
public Subquery<T> where(Predicate... predicates)
where
in interface AbstractQuery<T>
where
in interface Subquery<T>
public List<Expression<?>> getGroupList()
getGroupList
in interface AbstractQuery<T>
public Subquery<T> groupBy(Expression<?>... groupings)
groupBy
in interface AbstractQuery<T>
groupBy
in interface Subquery<T>
public Subquery<T> groupBy(List<Expression<?>> groupings)
groupBy
in interface AbstractQuery<T>
groupBy
in interface Subquery<T>
public Predicate getGroupRestriction()
getGroupRestriction
in interface AbstractQuery<T>
public Subquery<T> having(Expression<Boolean> expression)
having
in interface AbstractQuery<T>
having
in interface Subquery<T>
public Subquery<T> having(Predicate... predicates)
having
in interface AbstractQuery<T>
having
in interface Subquery<T>
public Set<Join<?,?>> getCorrelatedJoins()
getCorrelatedJoins
in interface Subquery<T>
public <Y> Root<Y> correlate(Root<Y> source)
correlate
in interface Subquery<T>
public <X,Y> Join<X,Y> correlate(Join<X,Y> source)
correlate
in interface Subquery<T>
public <X,Y> CollectionJoin<X,Y> correlate(CollectionJoin<X,Y> source)
correlate
in interface Subquery<T>
public <X,Y> SetJoin<X,Y> correlate(SetJoin<X,Y> source)
correlate
in interface Subquery<T>
public <X,Y> ListJoin<X,Y> correlate(ListJoin<X,Y> source)
correlate
in interface Subquery<T>
public <X,K,V> MapJoin<X,K,V> correlate(MapJoin<X,K,V> source)
correlate
in interface Subquery<T>
public <U> Subquery<U> subquery(Class<U> subqueryType)
subquery
in interface 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 |