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(com.blazebit.persistence.spi.DbmsStatementType statementType, javax.persistence.Query query, javax.persistence.EntityManager em, Set<String> parameterListNames, com.blazebit.persistence.spi.ExtendedQuerySupport extendedQuerySupport)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
createModificationPlan
public ModificationQueryPlan createModificationPlan(int firstResult, int maxResults)
- Specified by:
createModificationPlanin interfaceQuerySpecification
-
createSelectPlan
public SelectQueryPlan createSelectPlan(int firstResult, int maxResults)
- Specified by:
createSelectPlanin interfaceQuerySpecification
-
getSql
public String getSql()
- Specified by:
getSqlin interfaceQuerySpecification
-
getParticipatingQueries
public List<javax.persistence.Query> getParticipatingQueries()
- Specified by:
getParticipatingQueriesin interfaceQuerySpecification
-
getParameters
public Set<javax.persistence.Parameter<?>> getParameters()
- Specified by:
getParametersin interfaceQuerySpecification
-
getAddedCtes
public Map<String,String> getAddedCtes()
- Specified by:
getAddedCtesin interfaceQuerySpecification
-
getBaseQuery
public javax.persistence.Query getBaseQuery()
- Specified by:
getBaseQueryin interfaceQuerySpecification
-
onCollectionParameterChange
public void onCollectionParameterChange(String parameterName, Collection value)
- Specified by:
onCollectionParameterChangein interfaceQuerySpecification
-
-