public class JpaQueryMethod extends QueryMethod
QueryMethod.| Constructor and Description |
|---|
JpaQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory factory,
QueryExtractor extractor)
Creates a
JpaQueryMethod. |
| Modifier and Type | Method and Description |
|---|---|
protected JpaParameters |
createParameters(Method method) |
JpaEntityMetadata<?> |
getEntityInformation() |
String |
getNamedQueryName() |
JpaParameters |
getParameters() |
boolean |
isCollectionQuery() |
boolean |
isModifyingQuery()
Returns whether the finder is a modifying one.
|
boolean |
isProcedureQuery()
Return true if the method contains a
Procedure annotation. |
getDomainClass, getName, getResultProcessor, getReturnedObjectType, isPageQuery, isQueryForEntity, isSliceQuery, isStreamQuery, toStringpublic JpaQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory, QueryExtractor extractor)
JpaQueryMethod.method - must not be nullmetadata - must not be nullfactory - must not be nullextractor - must not be nullpublic JpaEntityMetadata<?> getEntityInformation()
getEntityInformation in class QueryMethodpublic boolean isModifyingQuery()
isModifyingQuery in class QueryMethodpublic String getNamedQueryName()
getNamedQueryName in class QueryMethodprotected JpaParameters createParameters(Method method)
createParameters in class QueryMethodpublic JpaParameters getParameters()
getParameters in class QueryMethodpublic boolean isCollectionQuery()
isCollectionQuery in class QueryMethodpublic boolean isProcedureQuery()
Procedure annotation.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.