Class ReturningModificationQuerySpecification<T>
- java.lang.Object
-
- com.blazebit.persistence.impl.query.CustomQuerySpecification<T>
-
- com.blazebit.persistence.impl.query.ReturningModificationQuerySpecification<T>
-
- All Implemented Interfaces:
QuerySpecification<T>
public class ReturningModificationQuerySpecification<T> extends CustomQuerySpecification<T>
- 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 ReturningModificationQuerySpecification(AbstractCommonQueryBuilder<?,?,?,?,?> commonQueryBuilder, javax.persistence.Query baseQuery, javax.persistence.Query exampleQuery, Set<javax.persistence.Parameter<?>> parameters, Set<String> parameterListNames, boolean recursive, List<CTENode> ctes, boolean shouldRenderCteNodes, String[] returningColumns, com.blazebit.persistence.ReturningObjectBuilder<T> objectBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModificationQueryPlancreateModificationPlan(int firstResult, int maxResults)SelectQueryPlancreateSelectPlan(int firstResult, int maxResults)javax.persistence.QuerygetBaseQuery()protected voidinitialize()-
Methods inherited from class com.blazebit.persistence.impl.query.CustomQuerySpecification
applyCtes, applyExtendedSql, applySqlTransformations, getAddedCtes, getParameters, getParticipatingQueries, getSql, onCollectionParameterChange
-
-
-
-
Constructor Detail
-
ReturningModificationQuerySpecification
public ReturningModificationQuerySpecification(AbstractCommonQueryBuilder<?,?,?,?,?> commonQueryBuilder, javax.persistence.Query baseQuery, javax.persistence.Query exampleQuery, Set<javax.persistence.Parameter<?>> parameters, Set<String> parameterListNames, boolean recursive, List<CTENode> ctes, boolean shouldRenderCteNodes, String[] returningColumns, com.blazebit.persistence.ReturningObjectBuilder<T> objectBuilder)
-
-
Method Detail
-
createModificationPlan
public ModificationQueryPlan createModificationPlan(int firstResult, int maxResults)
- Specified by:
createModificationPlanin interfaceQuerySpecification<T>- Overrides:
createModificationPlanin classCustomQuerySpecification<T>
-
createSelectPlan
public SelectQueryPlan createSelectPlan(int firstResult, int maxResults)
- Specified by:
createSelectPlanin interfaceQuerySpecification<T>- Overrides:
createSelectPlanin classCustomQuerySpecification<T>
-
getBaseQuery
public javax.persistence.Query getBaseQuery()
- Specified by:
getBaseQueryin interfaceQuerySpecification<T>- Overrides:
getBaseQueryin classCustomQuerySpecification<T>
-
initialize
protected void initialize()
- Overrides:
initializein classCustomQuerySpecification<T>
-
-