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