Class DefaultQuerySpecification
java.lang.Object
com.blazebit.persistence.impl.query.DefaultQuerySpecification
- All Implemented Interfaces:
QuerySpecification
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorDescriptionDefaultQuerySpecification
(DbmsStatementType statementType, javax.persistence.Query query, javax.persistence.EntityManager em, Set<String> parameterListNames, ExtendedQuerySupport extendedQuerySupport) -
Method Summary
Modifier and TypeMethodDescriptioncreateModificationPlan
(int firstResult, int maxResults) createSelectPlan
(int firstResult, int maxResults) javax.persistence.Query
Collection<? extends javax.persistence.Parameter<?>>
List<javax.persistence.Query>
getSql()
void
onCollectionParameterChange
(String parameterName, Collection value)
-
Constructor Details
-
DefaultQuerySpecification
public DefaultQuerySpecification(DbmsStatementType statementType, javax.persistence.Query query, javax.persistence.EntityManager em, Set<String> parameterListNames, ExtendedQuerySupport extendedQuerySupport)
-
-
Method Details
-
createModificationPlan
- Specified by:
createModificationPlan
in interfaceQuerySpecification
-
createSelectPlan
- Specified by:
createSelectPlan
in interfaceQuerySpecification
-
getSql
- Specified by:
getSql
in interfaceQuerySpecification
-
getParticipatingQueries
- Specified by:
getParticipatingQueries
in interfaceQuerySpecification
-
getParameters
- Specified by:
getParameters
in interfaceQuerySpecification
-
getAddedCtes
- Specified by:
getAddedCtes
in interfaceQuerySpecification
-
getBaseQuery
public javax.persistence.Query getBaseQuery()- Specified by:
getBaseQuery
in interfaceQuerySpecification
-
onCollectionParameterChange
- Specified by:
onCollectionParameterChange
in interfaceQuerySpecification
-