org.springframework.data.jpa.repository.query
Class PartTreeJpaQuery
java.lang.Object
org.springframework.data.jpa.repository.query.AbstractJpaQuery
org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- All Implemented Interfaces:
- RepositoryQuery
public class PartTreeJpaQuery
- extends AbstractJpaQuery
A AbstractJpaQuery implementation based on a PartTree.
- Author:
- Oliver Gierke, Thomas Darimont
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartTreeJpaQuery
public PartTreeJpaQuery(JpaQueryMethod method,
javax.persistence.EntityManager em)
- Creates a new
PartTreeJpaQuery.
- Parameters:
method - must not be null.em - must not be null.
doCreateQuery
public javax.persistence.Query doCreateQuery(Object[] values)
- Description copied from class:
AbstractJpaQuery
- Creates a
Query instance for the given values.
- Specified by:
doCreateQuery in class AbstractJpaQuery
- Parameters:
values - must not be null.
- Returns:
doCreateCountQuery
public javax.persistence.TypedQuery<Long> doCreateCountQuery(Object[] values)
- Description copied from class:
AbstractJpaQuery
- Creates a
TypedQuery for counting using the given values.
- Specified by:
doCreateCountQuery in class AbstractJpaQuery
- Parameters:
values - must not be null.
- Returns:
getExecution
protected JpaQueryExecution getExecution()
- Overrides:
getExecution in class AbstractJpaQuery
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.