QuerySpecificationpublic class DefaultQuerySpecification extends java.lang.Object implements QuerySpecification
| Constructor | Description |
|---|---|
DefaultQuerySpecification(com.blazebit.persistence.spi.DbmsStatementType statementType,
javax.persistence.Query query,
javax.persistence.EntityManager em,
java.util.Set<java.lang.String> parameterListNames,
com.blazebit.persistence.spi.ExtendedQuerySupport extendedQuerySupport) |
| Modifier and Type | Method | Description |
|---|---|---|
ModificationQueryPlan |
createModificationPlan(int firstResult,
int maxResults) |
|
SelectQueryPlan |
createSelectPlan(int firstResult,
int maxResults) |
|
java.util.Map<java.lang.String,java.lang.String> |
getAddedCtes() |
|
javax.persistence.Query |
getBaseQuery() |
|
java.util.Set<javax.persistence.Parameter<?>> |
getParameters() |
|
java.util.List<javax.persistence.Query> |
getParticipatingQueries() |
|
java.lang.String |
getSql() |
|
void |
onCollectionParameterChange(java.lang.String parameterName,
java.util.Collection value) |
public DefaultQuerySpecification(com.blazebit.persistence.spi.DbmsStatementType statementType,
javax.persistence.Query query,
javax.persistence.EntityManager em,
java.util.Set<java.lang.String> parameterListNames,
com.blazebit.persistence.spi.ExtendedQuerySupport extendedQuerySupport)
public ModificationQueryPlan createModificationPlan(int firstResult, int maxResults)
createModificationPlan in interface QuerySpecificationpublic SelectQueryPlan createSelectPlan(int firstResult, int maxResults)
createSelectPlan in interface QuerySpecificationpublic java.lang.String getSql()
getSql in interface QuerySpecificationpublic java.util.List<javax.persistence.Query> getParticipatingQueries()
getParticipatingQueries in interface QuerySpecificationpublic java.util.Set<javax.persistence.Parameter<?>> getParameters()
getParameters in interface QuerySpecificationpublic java.util.Map<java.lang.String,java.lang.String> getAddedCtes()
getAddedCtes in interface QuerySpecificationpublic javax.persistence.Query getBaseQuery()
getBaseQuery in interface QuerySpecificationpublic void onCollectionParameterChange(java.lang.String parameterName,
java.util.Collection value)
onCollectionParameterChange in interface QuerySpecificationCopyright © 2014–2019 Blazebit. All rights reserved.