Class CriteriaCountQueryBuilder
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.QueryBuilderBaseImpl<CountQueryBuilder,CountQueryWrapper>
ch.tocco.nice2.persist.core.impl.hibernate.query.AbstractCriteriaBuilder<CountQueryBuilder,Long,CountQueryWrapper>
ch.tocco.nice2.persist.core.impl.hibernate.query.CriteriaCountQueryBuilder
- All Implemented Interfaces:
CountQueryBuilder
,QueryBuilderBase<CountQueryBuilder,
CountQueryWrapper>
public class CriteriaCountQueryBuilder
extends AbstractCriteriaBuilder<CountQueryBuilder,Long,CountQueryWrapper>
implements CountQueryBuilder
A criteria builder that executes count queries.
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.AbstractCriteriaBuilder
criteriaBuilder, jdbcFunctions, parameterProviders, parameters, predicateFactory, query, queryRoot, session, subqueryFactory
Fields inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.QueryBuilderBaseImpl
collector, conditionFactory, dataModel, fieldResolver, insecureEnabled, interceptors, predicates, queryHints, typeManager
-
Constructor Summary
ConstructorDescriptionCriteriaCountQueryBuilder
(org.hibernate.Session session, Class<? extends Entity> entityClass, List<QueryBuilderInterceptor> interceptors, TypeManager typeManager, DataModel dataModel, ConditionFactory conditionFactory, FieldResolver fieldResolver, Map<String, JdbcFunction> jdbcFunctions, Map<String, ParameterProvider<?>> parameterProviders, Map<String, ?> queryHints, InsecureOrderPathsRegistry insecureOrderPathsRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected CountQueryWrapper
doBuild()
protected QueryBuilderInterceptor.QueryBuilderType
protected CriteriaCountQueryBuilder
self()
Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.AbstractCriteriaBuilder
addParameter, applyParametersToQuery, createQuery, getCriteriaBuilder, getPredicateFactory, getQueryDistinctStrategy, getQueryRoot, getSubqueryFactory, logNewQueryError
Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.QueryBuilderBaseImpl
build, doInsecure, getPredicates, initializationCompleted, where, where, where, where, whereInsecure, whereInsecure, whereInsecure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.hibernate.query.builder.QueryBuilderBase
addParameter, build, getCriteriaBuilder, getPredicates, getQueryRoot, getSubqueryFactory, where, where, where, where, whereInsecure, whereInsecure, whereInsecure
-
Constructor Details
-
CriteriaCountQueryBuilder
public CriteriaCountQueryBuilder(org.hibernate.Session session, Class<? extends Entity> entityClass, List<QueryBuilderInterceptor> interceptors, TypeManager typeManager, DataModel dataModel, ConditionFactory conditionFactory, FieldResolver fieldResolver, Map<String, JdbcFunction> jdbcFunctions, Map<String, ParameterProvider<?>> parameterProviders, Map<String, ?> queryHints, InsecureOrderPathsRegistry insecureOrderPathsRegistry)
-
-
Method Details
-
getPermission
- Specified by:
getPermission
in classQueryBuilderBaseImpl<CountQueryBuilder,
CountQueryWrapper>
-
self
- Specified by:
self
in classQueryBuilderBaseImpl<CountQueryBuilder,
CountQueryWrapper>
-
doBuild
- Specified by:
doBuild
in classQueryBuilderBaseImpl<CountQueryBuilder,
CountQueryWrapper>
-