Package | Description |
---|---|
javax.persistence | |
javax.persistence.criteria | |
org.hibernate.jpa.criteria | |
org.hibernate.jpa.spi |
Modifier and Type | Method and Description |
---|---|
<T> TypedQuery<T> |
EntityManager.createQuery(CriteriaQuery<T> criteriaQuery)
Create an instance of
TypedQuery for executing a
criteria query. |
Modifier and Type | Method and Description |
---|---|
CriteriaQuery<Object> |
CriteriaBuilder.createQuery()
Create a
CriteriaQuery object. |
<T> CriteriaQuery<T> |
CriteriaBuilder.createQuery(Class<T> resultClass)
Create a
CriteriaQuery object with the specified result
type. |
CriteriaQuery<Tuple> |
CriteriaBuilder.createTupleQuery()
Create a
CriteriaQuery object that returns a tuple of
objects as its result. |
CriteriaQuery<T> |
CriteriaQuery.distinct(boolean distinct)
Specify whether duplicate query results will be eliminated.
|
CriteriaQuery<T> |
CriteriaQuery.groupBy(Expression<?>... grouping)
Specify the expressions that are used to form groups over
the query results.
|
CriteriaQuery<T> |
CriteriaQuery.groupBy(List<Expression<?>> grouping)
Specify the expressions that are used to form groups over
the query results.
|
CriteriaQuery<T> |
CriteriaQuery.having(Expression<Boolean> restriction)
Specify a restriction over the groups of the query.
|
CriteriaQuery<T> |
CriteriaQuery.having(Predicate... restrictions)
Specify restrictions over the groups of the query
according the conjunction of the specified restriction
predicates.
|
CriteriaQuery<T> |
CriteriaQuery.multiselect(List<Selection<?>> selectionList)
Specify the selection items that are to be returned in the
query result.
|
CriteriaQuery<T> |
CriteriaQuery.multiselect(Selection<?>... selections)
Specify the selection items that are to be returned in the
query result.
|
CriteriaQuery<T> |
CriteriaQuery.orderBy(List<Order> o)
Specify the ordering expressions that are used to
order the query results.
|
CriteriaQuery<T> |
CriteriaQuery.orderBy(Order... o)
Specify the ordering expressions that are used to
order the query results.
|
CriteriaQuery<T> |
CriteriaQuery.select(Selection<? extends T> selection)
Specify the item that is to be returned in the query result.
|
CriteriaQuery<T> |
CriteriaQuery.where(Expression<Boolean> restriction)
Modify the query to restrict the query result according
to the specified boolean expression.
|
CriteriaQuery<T> |
CriteriaQuery.where(Predicate... restrictions)
Modify the query to restrict the query result 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. |
Modifier and Type | Method and Description |
---|---|
CriteriaQuery<Object> |
CriteriaBuilderImpl.createQuery() |
<T> CriteriaQuery<T> |
CriteriaBuilderImpl.createQuery(Class<T> resultClass) |
CriteriaQuery<Tuple> |
CriteriaBuilderImpl.createTupleQuery() |
CriteriaQuery<T> |
CriteriaQueryImpl.distinct(boolean applyDistinction) |
CriteriaQuery<T> |
CriteriaQueryImpl.groupBy(Expression<?>... groupings) |
CriteriaQuery<T> |
CriteriaQueryImpl.groupBy(List<Expression<?>> groupings) |
CriteriaQuery<T> |
CriteriaQueryImpl.having(Expression<Boolean> expression) |
CriteriaQuery<T> |
CriteriaQueryImpl.having(Predicate... predicates) |
CriteriaQuery<T> |
CriteriaQueryImpl.multiselect(List<Selection<?>> selections) |
CriteriaQuery<T> |
CriteriaQueryImpl.multiselect(Selection<?>... selections) |
CriteriaQuery<T> |
CriteriaQueryImpl.orderBy(List<Order> orders) |
CriteriaQuery<T> |
CriteriaQueryImpl.orderBy(Order... orders) |
CriteriaQuery<T> |
CriteriaQueryImpl.select(Selection<? extends T> selection) |
CriteriaQuery<T> |
CriteriaQueryImpl.where(Expression<Boolean> expression) |
CriteriaQuery<T> |
CriteriaQueryImpl.where(Predicate... predicates) |
Modifier and Type | Method and Description |
---|---|
<T> TypedQuery<T> |
AbstractEntityManagerImpl.createQuery(CriteriaQuery<T> criteriaQuery) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.