Package | Description |
---|---|
com.blazebit.persistence.criteria |
Blaze-Persistence JPA Criteria API extensions.
|
Modifier and Type | Method | Description |
---|---|---|
<Y> BlazeRoot<Y> |
BlazeSubquery.correlate(Root<Y> parentRoot) |
|
<X> BlazeRoot<X> |
BlazeAbstractQuery.from(java.lang.Class<X> entityClass) |
|
<X> BlazeRoot<X> |
BlazeAbstractQuery.from(java.lang.Class<X> entityClass,
java.lang.String alias) |
Like
AbstractQuery.from(Class) but allows to set the alias of the BlazeRoot . |
<X> BlazeRoot<X> |
BlazeAbstractQuery.from(javax.persistence.metamodel.EntityType<X> entity) |
|
<X> BlazeRoot<X> |
BlazeAbstractQuery.from(javax.persistence.metamodel.EntityType<X> entityType,
java.lang.String alias) |
Like
AbstractQuery.from(EntityType) but allows to set the alias of the BlazeRoot . |
BlazeRoot<T> |
BlazeCriteriaDelete.from(java.lang.Class<T> entityClass) |
|
BlazeRoot<T> |
BlazeCriteriaDelete.from(java.lang.Class<T> entityClass,
java.lang.String alias) |
Like
CriteriaDelete.from(Class) but allows to set the alias of the BlazeRoot . |
BlazeRoot<T> |
BlazeCriteriaDelete.from(javax.persistence.metamodel.EntityType<T> entity) |
|
BlazeRoot<T> |
BlazeCriteriaDelete.from(javax.persistence.metamodel.EntityType<T> entityType,
java.lang.String alias) |
Like
CriteriaDelete.from(EntityType) but allows to set the alias of the BlazeRoot . |
BlazeRoot<T> |
BlazeCriteriaUpdate.from(java.lang.Class<T> entityClass) |
|
BlazeRoot<T> |
BlazeCriteriaUpdate.from(java.lang.Class<T> entityClass,
java.lang.String alias) |
Like
CriteriaUpdate.from(Class) but allows to set the alias of the BlazeRoot . |
BlazeRoot<T> |
BlazeCriteriaUpdate.from(javax.persistence.metamodel.EntityType<T> entity) |
|
BlazeRoot<T> |
BlazeCriteriaUpdate.from(javax.persistence.metamodel.EntityType<T> entityType,
java.lang.String alias) |
Like
CriteriaUpdate.from(EntityType) but allows to set the alias of the BlazeRoot . |
<X> BlazeRoot<X> |
BlazeSubquery.from(java.lang.Class<X> entityClass) |
|
<X> BlazeRoot<X> |
BlazeSubquery.from(javax.persistence.metamodel.EntityType<X> entity) |
|
BlazeRoot<T> |
BlazeCriteriaDelete.getRoot() |
|
BlazeRoot<T> |
BlazeCriteriaUpdate.getRoot() |
|
<X,T extends X> |
BlazeCriteriaBuilder.treat(BlazeRoot<X> root,
java.lang.Class<T> type) |
Downcast Root object to the specified type.
|
<X,T extends X> |
BlazeCriteriaBuilder.treat(Root<X> root,
java.lang.Class<T> type) |
Downcast Root object to the specified type.
|
<T extends X> |
BlazeRoot.treatAs(java.lang.Class<T> type) |
Treats this from object as the given subtype.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<BlazeRoot<?>> |
BlazeAbstractQuery.getBlazeRoots() |
Like
AbstractQuery.getRoots() but returns the subtype BlazeRoot instead. |
Modifier and Type | Method | Description |
---|---|---|
<X,T extends X> |
BlazeCriteriaBuilder.treat(BlazeRoot<X> root,
java.lang.Class<T> type) |
Downcast Root object to the specified type.
|
Copyright © 2014–2018 Blazebit. All rights reserved.