Class EntityQueryBuilderImpl<T extends Entity>
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.QueryBuilderBaseImpl<EntityQueryBuilder<T>,CriteriaQueryWrapper<T>>
ch.tocco.nice2.persist.core.impl.hibernate.query.AbstractCriteriaBuilder<EntityQueryBuilder<T>,Object[],CriteriaQueryWrapper<T>>
ch.tocco.nice2.persist.core.impl.hibernate.query.CriteriaQueryBuilderImpl<EntityQueryBuilder<T>,T,CriteriaQueryWrapper<T>>
ch.tocco.nice2.persist.core.impl.hibernate.query.EntityQueryBuilderImpl<T>
- All Implemented Interfaces:
CriteriaQueryBuilder<EntityQueryBuilder<T>,
,T, CriteriaQueryWrapper<T>> EntityQueryBuilder<T>
,QueryBuilderBase<EntityQueryBuilder<T>,
CriteriaQueryWrapper<T>>
public class EntityQueryBuilderImpl<T extends Entity>
extends CriteriaQueryBuilderImpl<EntityQueryBuilder<T>,T,CriteriaQueryWrapper<T>>
implements EntityQueryBuilder<T>
Query builder that returns
Entity
instances as query result.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.CriteriaQueryBuilderImpl
CriteriaQueryBuilderImpl.AbstractCriteriaQueryWrapper
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.CriteriaQueryBuilderImpl
ARRAY_EQUIVALENCE
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
ConstructorDescriptionEntityQueryBuilderImpl
(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 CriteriaQueryWrapper
<T> doBuild()
protected EntityQueryBuilderImpl
<T> self()
Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.CriteriaQueryBuilderImpl
addOrder, addOrder, applyConfiguration, getPermission, setLimit, setOffset
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.CriteriaQueryBuilder
addOrder, addOrder, applyConfiguration, getQueryRoot, setLimit, setOffset
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
-
Constructor Details
-
EntityQueryBuilderImpl
public EntityQueryBuilderImpl(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
-
self
- Specified by:
self
in classQueryBuilderBaseImpl<EntityQueryBuilder<T extends Entity>,
CriteriaQueryWrapper<T extends Entity>>
-
doBuild
- Specified by:
doBuild
in classQueryBuilderBaseImpl<EntityQueryBuilder<T extends Entity>,
CriteriaQueryWrapper<T extends Entity>>
-