Class CTEQuerySpecification
java.lang.Object
com.blazebit.persistence.impl.query.CustomQuerySpecification<Object>
com.blazebit.persistence.impl.query.CTEQuerySpecification
- All Implemented Interfaces:
QuerySpecification<Object>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
Fields inherited from class com.blazebit.persistence.impl.query.CustomQuerySpecification
addedCtes, baseQuery, countPrefix, countWrapperExampleQuery, ctes, dbmsDialect, dirty, em, entityFunctionNodes, extendedQuerySupport, keyRestrictedLeftJoinAliases, limit, listParameters, offset, parameters, participatingQueries, queryPlanCacheEnabled, recursive, serviceProvider, shouldRenderCtes, sql, statementType
-
Constructor Summary
ConstructorDescriptionCTEQuerySpecification
(AbstractCommonQueryBuilder<?, ?, ?, ?, ?> commonQueryBuilder, javax.persistence.Query baseQuery, Collection<? extends javax.persistence.Parameter<?>> parameters, Set<String> parameterListNames, String limit, String offset, List<String> keyRestrictedLeftJoinAliases, List<EntityFunctionNode> entityFunctionNodes) -
Method Summary
Modifier and TypeMethodDescriptioncreateSelectPlan
(int firstResult, int maxResults) javax.persistence.Query
protected void
Methods inherited from class com.blazebit.persistence.impl.query.CustomQuerySpecification
applyCtes, applyExtendedSql, applySqlTransformations, createModificationPlan, getAddedCtes, getParameters, getParticipatingQueries, getSql, onCollectionParameterChange
-
Constructor Details
-
CTEQuerySpecification
public CTEQuerySpecification(AbstractCommonQueryBuilder<?, ?, ?, ?, ?> commonQueryBuilder, javax.persistence.Query baseQuery, Collection<? extends javax.persistence.Parameter<?>> parameters, Set<String> parameterListNames, String limit, String offset, List<String> keyRestrictedLeftJoinAliases, List<EntityFunctionNode> entityFunctionNodes)
-
-
Method Details
-
getBaseQuery
public javax.persistence.Query getBaseQuery()- Specified by:
getBaseQuery
in interfaceQuerySpecification<Object>
- Overrides:
getBaseQuery
in classCustomQuerySpecification<Object>
-
initialize
protected void initialize()- Overrides:
initialize
in classCustomQuerySpecification<Object>
-
createSelectPlan
- Specified by:
createSelectPlan
in interfaceQuerySpecification<Object>
- Overrides:
createSelectPlan
in classCustomQuerySpecification<Object>
-