Package | Description |
---|---|
javax.persistence.criteria | |
org.hibernate.jpa.criteria |
Modifier and Type | Interface and Description |
---|---|
interface |
CriteriaQuery<T>
The
CriteriaQuery interface defines functionality that is specific
to top-level queries. |
interface |
Subquery<T>
The
Subquery interface defines functionality that is
specific to subqueries. |
Modifier and Type | Method and Description |
---|---|
AbstractQuery<T> |
AbstractQuery.distinct(boolean distinct)
Specify whether duplicate query results will be eliminated.
|
AbstractQuery<?> |
Subquery.getParent()
Return the query (which must be a CriteriaQuery or a Subquery) of which this is a subquery.
|
AbstractQuery<T> |
AbstractQuery.groupBy(Expression<?>... grouping)
Specify the expressions that are used to form groups over
the query results.
|
AbstractQuery<T> |
AbstractQuery.groupBy(List<Expression<?>> grouping)
Specify the expressions that are used to form groups over
the query results.
|
AbstractQuery<T> |
AbstractQuery.having(Expression<Boolean> restriction)
Specify a restriction over the groups of the query.
|
AbstractQuery<T> |
AbstractQuery.having(Predicate... restrictions)
Specify restrictions over the groups of the query
according the conjunction of the specified restriction
predicates.
|
AbstractQuery<T> |
AbstractQuery.where(Expression<Boolean> restriction)
Modify the query to restrict the query results according
to the specified boolean expression.
|
AbstractQuery<T> |
AbstractQuery.where(Predicate... restrictions)
Modify the query to restrict the query results according
to the conjunction of the specified restriction predicates.
|
Modifier and Type | Class and Description |
---|---|
class |
CriteriaQueryImpl<T>
The Hibernate implementation of the JPA
CriteriaQuery contract. |
class |
CriteriaSubqueryImpl<T>
The Hibernate implementation of the JPA
Subquery contract. |
Modifier and Type | Method and Description |
---|---|
AbstractQuery<?> |
CriteriaSubqueryImpl.getParent() |
Constructor and Description |
---|
QueryStructure(AbstractQuery<T> owner,
CriteriaBuilderImpl criteriaBuilder) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.