T
- the type of the resultAbstractQuery<T>
, BlazeCommonAbstractCriteria
, CommonAbstractCriteria
BlazeCriteriaQuery<T>
, BlazeSubquery<T>
public interface BlazeAbstractQuery<T> extends AbstractQuery<T>, BlazeCommonAbstractCriteria
AbstractQuery
that allows setting an alias for From
elements.Modifier and Type | Method | Description |
---|---|---|
BlazeAbstractQuery<T> |
distinct(boolean distinct) |
|
<X> BlazeRoot<X> |
from(java.lang.Class<X> entityClass) |
|
<X> BlazeRoot<X> |
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> |
from(javax.persistence.metamodel.EntityType<X> entity) |
|
<X> BlazeRoot<X> |
from(javax.persistence.metamodel.EntityType<X> entityType,
java.lang.String alias) |
Like
AbstractQuery.from(EntityType) but allows to set the alias of the BlazeRoot . |
java.util.Set<BlazeRoot<?>> |
getBlazeRoots() |
Like
AbstractQuery.getRoots() but returns the subtype BlazeRoot instead. |
BlazeAbstractQuery<T> |
groupBy(java.util.List<Expression<?>> grouping) |
|
BlazeAbstractQuery<T> |
groupBy(Expression<?>... grouping) |
|
BlazeAbstractQuery<T> |
having(Expression<java.lang.Boolean> restriction) |
|
BlazeAbstractQuery<T> |
having(Predicate... restrictions) |
|
BlazeAbstractQuery<T> |
where(Expression<java.lang.Boolean> restriction) |
|
BlazeAbstractQuery<T> |
where(Predicate... restrictions) |
getGroupList, getGroupRestriction, getRestriction, getResultType, getRoots, getSelection, isDistinct, subquery
subquery
getRestriction
<X> BlazeRoot<X> from(java.lang.Class<X> entityClass, java.lang.String alias)
AbstractQuery.from(Class)
but allows to set the alias of the BlazeRoot
.X
- The entity typeentityClass
- the entity classalias
- The alias for the BlazeRoot
<X> BlazeRoot<X> from(javax.persistence.metamodel.EntityType<X> entityType, java.lang.String alias)
AbstractQuery.from(EntityType)
but allows to set the alias of the BlazeRoot
.X
- The entity typeentityType
- the entity typealias
- The alias for the BlazeRoot
java.util.Set<BlazeRoot<?>> getBlazeRoots()
AbstractQuery.getRoots()
but returns the subtype BlazeRoot
instead.<X> BlazeRoot<X> from(java.lang.Class<X> entityClass)
from
in interface AbstractQuery<T>
<X> BlazeRoot<X> from(javax.persistence.metamodel.EntityType<X> entity)
from
in interface AbstractQuery<T>
BlazeAbstractQuery<T> where(Expression<java.lang.Boolean> restriction)
where
in interface AbstractQuery<T>
BlazeAbstractQuery<T> where(Predicate... restrictions)
where
in interface AbstractQuery<T>
BlazeAbstractQuery<T> groupBy(Expression<?>... grouping)
groupBy
in interface AbstractQuery<T>
BlazeAbstractQuery<T> groupBy(java.util.List<Expression<?>> grouping)
groupBy
in interface AbstractQuery<T>
BlazeAbstractQuery<T> having(Expression<java.lang.Boolean> restriction)
having
in interface AbstractQuery<T>
BlazeAbstractQuery<T> having(Predicate... restrictions)
having
in interface AbstractQuery<T>
BlazeAbstractQuery<T> distinct(boolean distinct)
distinct
in interface AbstractQuery<T>
Copyright © 2014–2018 Blazebit. All rights reserved.