public class PartTreeJpaQuery extends AbstractJpaQuery
AbstractJpaQuery
implementation based on a PartTree
.Constructor and Description |
---|
PartTreeJpaQuery(JpaQueryMethod method,
javax.persistence.EntityManager em,
PersistenceProvider persistenceProvider)
Creates a new
PartTreeJpaQuery . |
Modifier and Type | Method and Description |
---|---|
javax.persistence.TypedQuery<Long> |
doCreateCountQuery(Object[] values)
Creates a
TypedQuery for counting using the given values. |
javax.persistence.Query |
doCreateQuery(Object[] values)
Creates a
Query instance for the given values. |
protected JpaQueryExecution |
getExecution() |
applyHints, applyQueryHint, createBinder, createCountQuery, createQuery, execute, getEntityManager, getQueryMethod
public PartTreeJpaQuery(JpaQueryMethod method, javax.persistence.EntityManager em, PersistenceProvider persistenceProvider)
PartTreeJpaQuery
.method
- must not be null.factory
- must not be null.em
- must not be null.public javax.persistence.Query doCreateQuery(Object[] values)
AbstractJpaQuery
Query
instance for the given values.doCreateQuery
in class AbstractJpaQuery
values
- must not be null.public javax.persistence.TypedQuery<Long> doCreateCountQuery(Object[] values)
AbstractJpaQuery
TypedQuery
for counting using the given values.doCreateCountQuery
in class AbstractJpaQuery
values
- must not be null.protected JpaQueryExecution getExecution()
getExecution
in class AbstractJpaQuery
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.