Class SetOperationQuerySpecification<T>
- java.lang.Object
-
- com.blazebit.persistence.impl.query.CustomQuerySpecification<T>
-
- com.blazebit.persistence.impl.query.SetOperationQuerySpecification<T>
-
- All Implemented Interfaces:
QuerySpecification<T>
public class SetOperationQuerySpecification<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 SetOperationQuerySpecification(AbstractCommonQueryBuilder<?,?,?,?,?> commonQueryBuilder, javax.persistence.Query leftMostQuery, javax.persistence.Query baseQuery, List<javax.persistence.Query> setOperands, com.blazebit.persistence.spi.SetOperationType operator, List<? extends com.blazebit.persistence.spi.OrderByElement> orderByElements, boolean nested, Set<javax.persistence.Parameter<?>> parameters, Set<String> parameterListNames, String limit, String offset, List<String> keyRestrictedLeftJoinAliases, List<EntityFunctionNode> entityFunctionNodes, boolean recursive, List<CTENode> ctes, boolean shouldRenderCteNodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectQueryPlan<T>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
-
SetOperationQuerySpecification
public SetOperationQuerySpecification(AbstractCommonQueryBuilder<?,?,?,?,?> commonQueryBuilder, javax.persistence.Query leftMostQuery, javax.persistence.Query baseQuery, List<javax.persistence.Query> setOperands, com.blazebit.persistence.spi.SetOperationType operator, List<? extends com.blazebit.persistence.spi.OrderByElement> orderByElements, boolean nested, Set<javax.persistence.Parameter<?>> parameters, Set<String> parameterListNames, String limit, String offset, List<String> keyRestrictedLeftJoinAliases, List<EntityFunctionNode> entityFunctionNodes, boolean recursive, List<CTENode> ctes, boolean shouldRenderCteNodes)
-
-
Method Detail
-
getBaseQuery
public javax.persistence.Query getBaseQuery()
- Specified by:
getBaseQueryin interfaceQuerySpecification<T>- Overrides:
getBaseQueryin classCustomQuerySpecification<T>
-
initialize
protected void initialize()
- Overrides:
initializein classCustomQuerySpecification<T>
-
createSelectPlan
public SelectQueryPlan<T> createSelectPlan(int firstResult, int maxResults)
- Specified by:
createSelectPlanin interfaceQuerySpecification<T>- Overrides:
createSelectPlanin classCustomQuerySpecification<T>
-
-