Class PartTreeJpaQuery
java.lang.Object
org.springframework.data.jpa.repository.query.AbstractJpaQuery
org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- All Implemented Interfaces:
RepositoryQuery
A
AbstractJpaQuery
implementation based on a PartTree
.- Author:
- Oliver Gierke, Thomas Darimont, Christoph Strobl, Jens Schauder, Mark Paluch, Сергей Цыпанов
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.TypedQuery<Long>
Creates aTypedQuery
for counting using the given values.jakarta.persistence.Query
doCreateQuery
(JpaParametersParameterAccessor accessor) Creates aQuery
instance for the given values.protected JpaQueryExecution
Methods inherited from class org.springframework.data.jpa.repository.query.AbstractJpaQuery
applyHints, applyQueryHint, createBinder, createCountQuery, createQuery, execute, getEntityManager, getMetamodel, getQueryMethod, getTypeToRead
-
Method Details
-
doCreateQuery
Description copied from class:AbstractJpaQuery
Creates aQuery
instance for the given values.- Specified by:
doCreateQuery
in classAbstractJpaQuery
- Parameters:
accessor
- must not be null.- Returns:
-
doCreateCountQuery
public jakarta.persistence.TypedQuery<Long> doCreateCountQuery(JpaParametersParameterAccessor accessor) Description copied from class:AbstractJpaQuery
Creates aTypedQuery
for counting using the given values.- Specified by:
doCreateCountQuery
in classAbstractJpaQuery
- Parameters:
accessor
- must not be null.- Returns:
-
getExecution
- Overrides:
getExecution
in classAbstractJpaQuery
-