T
- The query result typeBaseCriteriaBuilder<T,CriteriaBuilder<T>>
, BaseHavingBuilder<T>
, BaseQueryBuilder<T,X>
, BaseWhereBuilder<T>
, CommonQueryBuilder<T>
, ConfigurationSource
, CorrelationQueryBuilder<T>
, CTEBuilder<CriteriaBuilder<T>>
, DistinctBuilder<T>
, FetchBuilder<T>
, FromBuilder<T>
, FullQueryBuilder<T,CriteriaBuilder<T>>
, GroupByBuilder<T>
, HavingBuilder<T>
, KeysetQueryBuilder<T>
, LimitBuilder<T>
, OrderByBuilder<T>
, ParameterHolder<T>
, Queryable<T,X>
, QueryBuilder<T,X>
, SelectBuilder<T>
, ServiceProvider
, SetOperationBuilder<LeafOngoingSetOperationCriteriaBuilder<T>,StartOngoingSetOperationCriteriaBuilder<T,LeafOngoingFinalSetOperationCriteriaBuilder<T>>>
, WhereBuilder<T>
public interface CriteriaBuilder<T> extends FullQueryBuilder<T,CriteriaBuilder<T>>, BaseCriteriaBuilder<T,CriteriaBuilder<T>>, CTEBuilder<CriteriaBuilder<T>>, SetOperationBuilder<LeafOngoingSetOperationCriteriaBuilder<T>,StartOngoingSetOperationCriteriaBuilder<T,LeafOngoingFinalSetOperationCriteriaBuilder<T>>>
Modifier and Type | Method | Description |
---|---|---|
<Y> CriteriaBuilder<Y> |
copy(Class<Y> resultClass) |
Copies this query builder into a new one, using it's projection as an overridable default.
|
<Y> CriteriaBuilder<Y> |
selectNew(ObjectBuilder<Y> builder) |
Applies the given object builder to this query.
|
<Y> SelectObjectBuilder<CriteriaBuilder<Y>> |
selectNew(Class<Y> clazz) |
Starts a
SelectObjectBuilder for the given class. |
having, havingCase, havingExists, havingExists, havingNotExists, havingNotExists, havingSimpleCase, havingSubqueries, havingSubquery, havingSubquery, havingSubquery, havingSubquery
getResultType
where, whereCase, whereExists, whereExists, whereNotExists, whereNotExists, whereSimpleCase, whereSubqueries, whereSubquery, whereSubquery, whereSubquery, whereSubquery
getCriteriaBuilderFactory, getMetamodel, isCacheable, registerMacro, setCacheable, setProperties, setProperty
getProperties, getProperty
with, withRecursive, withReturning, withStartSet
distinct
fetch, fetch
from, from, from, from, fromIdentifiableValues, fromIdentifiableValues, fromNew, fromNew, fromOld, fromOld, fromValues, fromValues, getFrom, getFromByPath, getPath, getRoots, innerJoin, innerJoinDefault, innerJoinDefaultOn, innerJoinOn, innerJoinOn, innerJoinOn, innerJoinOn, innerJoinOn, join, joinDefault, joinDefaultOn, joinOn, joinOn, joinOn, joinOn, joinOn, leftJoin, leftJoinDefault, leftJoinDefaultOn, leftJoinOn, leftJoinOn, leftJoinOn, leftJoinOn, leftJoinOn, rightJoin, rightJoinDefault, rightJoinDefaultOn, rightJoinOn, rightJoinOn, rightJoinOn, rightJoinOn, rightJoinOn
getCountQuery, innerJoinFetch, innerJoinFetchDefault, join, joinDefault, leftJoinFetch, leftJoinFetchDefault, page, page, page, rightJoinFetch, rightJoinFetchDefault, selectNew
groupBy, groupBy
havingOr, setHavingExpression, setHavingExpressionSubqueries
afterKeyset, afterKeyset, afterKeyset, beforeKeyset, beforeKeyset, beforeKeyset
getFirstResult, getMaxResults, setFirstResult, setMaxResults
orderBy, orderByAsc, orderByAsc, orderByDesc, orderByDesc
containsParameter, getParameter, getParameters, getParameterValue, isParameterSet, setParameter, setParameter, setParameter, setParameterType
getQuery, getQueryString, getResultList, getSingleResult
getEntityManager
select, select, selectCase, selectCase, selectSimpleCase, selectSimpleCase, selectSubqueries, selectSubqueries, selectSubquery, selectSubquery, selectSubquery, selectSubquery, selectSubquery, selectSubquery, selectSubquery, selectSubquery
getService
except, exceptAll, intersect, intersectAll, startExcept, startExceptAll, startIntersect, startIntersectAll, startUnion, startUnionAll, union, unionAll
setWhereExpression, setWhereExpressionSubqueries, whereOr
<Y> CriteriaBuilder<Y> copy(Class<Y> resultClass)
FullQueryBuilder
copy
in interface FullQueryBuilder<T,CriteriaBuilder<T>>
Y
- The type of the result classresultClass
- The result class of the query<Y> SelectObjectBuilder<CriteriaBuilder<Y>> selectNew(Class<Y> clazz)
FullQueryBuilder
SelectObjectBuilder
for the given class. The types of the parameter arguments used in the
SelectObjectBuilder
must match a constructor of the given class.selectNew
in interface FullQueryBuilder<T,CriteriaBuilder<T>>
Y
- The new query result type specified by the given classclazz
- The class which should be used for the select new select clause<Y> CriteriaBuilder<Y> selectNew(ObjectBuilder<Y> builder)
FullQueryBuilder
selectNew
in interface FullQueryBuilder<T,CriteriaBuilder<T>>
Y
- The new query result type specified by the given classbuilder
- The object builder which transforms the result set into objects of type Y
Copyright © 2014–2018 Blazebit. All rights reserved.