Class DefaultQuerySpecification
java.lang.Object
com.blazebit.persistence.impl.query.DefaultQuerySpecification
- All Implemented Interfaces:
QuerySpecification
public class DefaultQuerySpecification extends Object implements QuerySpecification
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description DefaultQuerySpecification(DbmsStatementType statementType, javax.persistence.Query query, javax.persistence.EntityManager em, Set<String> parameterListNames, ExtendedQuerySupport extendedQuerySupport) -
Method Summary
Modifier and Type Method Description ModificationQueryPlancreateModificationPlan(int firstResult, int maxResults)SelectQueryPlancreateSelectPlan(int firstResult, int maxResults)Map<String,String>getAddedCtes()javax.persistence.QuerygetBaseQuery()Set<javax.persistence.Parameter<?>>getParameters()List<javax.persistence.Query>getParticipatingQueries()StringgetSql()voidonCollectionParameterChange(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:
createModificationPlanin interfaceQuerySpecification
-
createSelectPlan
- Specified by:
createSelectPlanin interfaceQuerySpecification
-
getSql
- Specified by:
getSqlin interfaceQuerySpecification
-
getParticipatingQueries
- Specified by:
getParticipatingQueriesin interfaceQuerySpecification
-
getParameters
- Specified by:
getParametersin interfaceQuerySpecification
-
getAddedCtes
- Specified by:
getAddedCtesin interfaceQuerySpecification
-
getBaseQuery
public javax.persistence.Query getBaseQuery()- Specified by:
getBaseQueryin interfaceQuerySpecification
-
onCollectionParameterChange
- Specified by:
onCollectionParameterChangein interfaceQuerySpecification
-