Interface CriteriaQueryBuilder<QB extends CriteriaQueryBuilder<QB,RT,QW>,RT,QW extends CriteriaQueryWrapper<RT>>
- All Superinterfaces:
QueryBuilderBase<QB,
QW>
- All Known Subinterfaces:
EntityQueryBuilder<T>
,PathQueryBuilder<T>
,PrimaryKeyQueryBuilder
,SinglePathQueryBuilder<T>
- All Known Implementing Classes:
AbstractPathQueryBuilder
,CriteriaQueryBuilderImpl
,EntityQueryBuilderImpl
,PathQueryBuilderImpl
,PrimaryKeyQueryBuilderImpl
,SinglePathQueryBuilderImpl
public interface CriteriaQueryBuilder<QB extends CriteriaQueryBuilder<QB,RT,QW>,RT,QW extends CriteriaQueryWrapper<RT>>
extends QueryBuilderBase<QB,QW>
Base interface for query builders that return multiple result rows and provides methods
for ordering and limiting results.
-
Method Summary
Modifier and TypeMethodDescriptionaddOrder
(jakarta.persistence.criteria.Order order) applyConfiguration
(QueryConfigurator queryConfigurator) jakarta.persistence.criteria.Root
<?> setLimit
(int limit) setOffset
(int offset) Methods inherited from interface ch.tocco.nice2.persist.core.api.hibernate.query.builder.QueryBuilderBase
addParameter, build, getCriteriaBuilder, getPredicates, getSubqueryFactory, where, where, where, where, whereInsecure, whereInsecure, whereInsecure
-
Method Details
-
getQueryRoot
jakarta.persistence.criteria.Root<?> getQueryRoot()- Specified by:
getQueryRoot
in interfaceQueryBuilderBase<QB extends CriteriaQueryBuilder<QB,
RT, QW>, RT> - Returns:
- the
Root
orJoin
instance that represents the root entity of the query
-
setOffset
-
setLimit
-
addOrder
-
addOrder
-
applyConfiguration
-