Package | Description |
---|---|
javax.persistence.criteria | |
org.hibernate.ejb.criteria | |
org.hibernate.ejb.criteria.expression | |
org.hibernate.ejb.criteria.predicate |
Modifier and Type | Method and Description |
---|---|
Subquery<T> |
Subquery.distinct(boolean distinct)
Specify whether duplicate query results will be eliminated.
|
Subquery<T> |
Subquery.groupBy(Expression<?>... grouping)
Specify the expressions that are used to form groups over
the subquery results.
|
Subquery<T> |
Subquery.groupBy(List<Expression<?>> grouping)
Specify the expressions that are used to form groups over
the subquery results.
|
Subquery<T> |
Subquery.having(Expression<Boolean> restriction)
Specify a restriction over the groups of the subquery.
|
Subquery<T> |
Subquery.having(Predicate... restrictions)
Specify restrictions over the groups of the subquery
according the conjunction of the specified restriction
predicates.
|
Subquery<T> |
Subquery.select(Expression<T> expression)
Specify the item that is to be returned as the subquery
result.
|
<U> Subquery<U> |
AbstractQuery.subquery(Class<U> type)
Create a subquery of the query.
|
Subquery<T> |
Subquery.where(Expression<Boolean> restriction)
Modify the subquery to restrict the result according
to the specified boolean expression.
|
Subquery<T> |
Subquery.where(Predicate... restrictions)
Modify the subquery to restrict the result according
to the conjunction of the specified restriction predicates.
|
Modifier and Type | Method and Description |
---|---|
<Y> Expression<Y> |
CriteriaBuilder.all(Subquery<Y> subquery)
Create an all expression over the subquery results.
|
<Y> Expression<Y> |
CriteriaBuilder.any(Subquery<Y> subquery)
Create an any expression over the subquery results.
|
Predicate |
CriteriaBuilder.exists(Subquery<?> subquery)
Create a predicate testing the existence of a subquery result.
|
<Y> Expression<Y> |
CriteriaBuilder.some(Subquery<Y> subquery)
Create a some expression over the subquery results.
|
Modifier and Type | Class and Description |
---|---|
class |
CriteriaSubqueryImpl<T>
The Hibernate implementation of the JPA
Subquery contract. |
Modifier and Type | Method and Description |
---|---|
Subquery<T> |
CriteriaSubqueryImpl.distinct(boolean applyDistinction) |
Subquery<T> |
CriteriaSubqueryImpl.groupBy(Expression<?>... groupings)
Specify the expressions that are used to form groups over
the subquery results.
|
Subquery<T> |
CriteriaSubqueryImpl.groupBy(List<Expression<?>> groupings)
Specify the expressions that are used to form groups over
the subquery results.
|
Subquery<T> |
CriteriaSubqueryImpl.having(Expression<Boolean> expression)
Specify a restriction over the groups of the subquery.
|
Subquery<T> |
CriteriaSubqueryImpl.having(Predicate... predicates)
Specify restrictions over the groups of the subquery
according the conjunction of the specified restriction
predicates.
|
Subquery<T> |
CriteriaSubqueryImpl.select(Expression<T> expression) |
<U> Subquery<U> |
QueryStructure.subquery(Class<U> subqueryType) |
<U> Subquery<U> |
CriteriaSubqueryImpl.subquery(Class<U> subqueryType)
Create a subquery of the query.
|
<U> Subquery<U> |
CriteriaQueryImpl.subquery(Class<U> subqueryType)
Create a subquery of the query.
|
Subquery<T> |
CriteriaSubqueryImpl.where(Expression<Boolean> expression)
Modify the subquery to restrict the result according
to the specified boolean expression.
|
Subquery<T> |
CriteriaSubqueryImpl.where(Predicate... predicates)
Modify the subquery to restrict the result according
to the conjunction of the specified restriction predicates.
|
Modifier and Type | Method and Description |
---|---|
List<Subquery<?>> |
QueryStructure.getSubqueries() |
List<Subquery<?>> |
QueryStructure.internalGetSubqueries() |
Modifier and Type | Method and Description |
---|---|
<Y> Expression<Y> |
CriteriaBuilderImpl.all(Subquery<Y> subquery)
Create an all expression over the subquery results.
|
<Y> Expression<Y> |
CriteriaBuilderImpl.any(Subquery<Y> subquery)
Create an any expression over the subquery results.
|
Predicate |
CriteriaBuilderImpl.exists(Subquery<?> subquery)
Create a predicate testing the existence of a subquery result.
|
<Y> Expression<Y> |
CriteriaBuilderImpl.some(Subquery<Y> subquery)
Create a some expression over the subquery results.
|
Modifier and Type | Method and Description |
---|---|
Subquery<Y> |
SubqueryComparisonModifierExpression.getSubquery() |
Constructor and Description |
---|
SubqueryComparisonModifierExpression(CriteriaBuilderImpl criteriaBuilder,
Class<Y> javaType,
Subquery<Y> subquery,
SubqueryComparisonModifierExpression.Modifier modifier) |
Modifier and Type | Method and Description |
---|---|
Subquery<?> |
ExistsPredicate.getSubquery() |
Constructor and Description |
---|
ExistsPredicate(CriteriaBuilderImpl criteriaBuilder,
Subquery<?> subquery) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.