Package | Description |
---|---|
javax.persistence.criteria |
Jakarta Persistence Criteria API
|
org.hibernate.query.criteria.internal | |
org.hibernate.query.criteria.internal.path |
Modifier and Type | Method and Description |
---|---|
<Y> Root<Y> |
Subquery.correlate(Root<Y> parentRoot)
Create a subquery root correlated to a root of the
enclosing query.
|
Root<T> |
CriteriaDelete.from(Class<T> entityClass)
Create and add a query root corresponding to the entity
that is the target of the delete.
|
Root<T> |
CriteriaUpdate.from(Class<T> entityClass)
Create and add a query root corresponding to the entity
that is the target of the update.
|
<X> Root<X> |
AbstractQuery.from(Class<X> entityClass)
Create and add a query root corresponding to the given entity,
forming a cartesian product with any existing roots.
|
Root<T> |
CriteriaDelete.from(EntityType<T> entity)
Create and add a query root corresponding to the entity
that is the target of the delete.
|
Root<T> |
CriteriaUpdate.from(EntityType<T> entity)
Create and add a query root corresponding to the entity
that is the target of the update.
|
<X> Root<X> |
AbstractQuery.from(EntityType<X> entity)
Create and add a query root corresponding to the given entity,
forming a cartesian product with any existing roots.
|
Root<T> |
CriteriaDelete.getRoot()
Return the query root.
|
Root<T> |
CriteriaUpdate.getRoot()
Return the query root.
|
<X,T extends X> |
CriteriaBuilder.treat(Root<X> root,
Class<T> type)
Downcast Root object to the specified type.
|
Modifier and Type | Method and Description |
---|---|
Set<Root<?>> |
AbstractQuery.getRoots()
Return the query roots.
|
Modifier and Type | Method and Description |
---|---|
<Y> Root<Y> |
Subquery.correlate(Root<Y> parentRoot)
Create a subquery root correlated to a root of the
enclosing query.
|
<X,T extends X> |
CriteriaBuilder.treat(Root<X> root,
Class<T> type)
Downcast Root object to the specified type.
|
Modifier and Type | Method and Description |
---|---|
<Y> Root<Y> |
CriteriaSubqueryImpl.correlate(Root<Y> source) |
Root |
AbstractManipulationCriteriaQuery.from(Class<T> entityClass) |
<X> Root<X> |
CriteriaQueryImpl.from(Class<X> entityClass) |
<X> Root<X> |
CriteriaSubqueryImpl.from(Class<X> entityClass) |
<X> Root<X> |
QueryStructure.from(Class<X> entityClass) |
Root<T> |
AbstractManipulationCriteriaQuery.from(EntityType<T> entityType) |
<X> Root<X> |
CriteriaQueryImpl.from(EntityType<X> entityType) |
<X> Root<X> |
CriteriaSubqueryImpl.from(EntityType<X> entityType) |
<X> Root<X> |
QueryStructure.from(EntityType<X> entityType) |
Root<T> |
AbstractManipulationCriteriaQuery.getRoot() |
<X,T extends X> |
CriteriaBuilderImpl.treat(Root<X> root,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
Set<Root<?>> |
CriteriaQueryImpl.getRoots() |
Set<Root<?>> |
CriteriaSubqueryImpl.getRoots() |
Set<Root<?>> |
QueryStructure.getRoots() |
Modifier and Type | Method and Description |
---|---|
<Y> Root<Y> |
CriteriaSubqueryImpl.correlate(Root<Y> source) |
<X,T extends X> |
CriteriaBuilderImpl.treat(Root<X> root,
Class<T> type) |
Modifier and Type | Class and Description |
---|---|
class |
RootImpl<X>
Hibernate implementation of the JPA
Root contract |
static class |
RootImpl.TreatedRoot<T> |
Copyright © 2021 JBoss by Red Hat. All rights reserved.