public class JpaQueryMethod
extends org.springframework.data.repository.query.QueryMethod
QueryMethod.| Constructor and Description |
|---|
JpaQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.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. |
public JpaQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory, QueryExtractor extractor)
JpaQueryMethod.method - must not be nullextractor - must not be nullmetadata - must not be nullpublic JpaEntityMetadata<?> getEntityInformation()
getEntityInformation in class org.springframework.data.repository.query.QueryMethodpublic boolean isModifyingQuery()
isModifyingQuery in class org.springframework.data.repository.query.QueryMethodpublic String getNamedQueryName()
getNamedQueryName in class org.springframework.data.repository.query.QueryMethodprotected JpaParameters createParameters(Method method)
createParameters in class org.springframework.data.repository.query.QueryMethodpublic JpaParameters getParameters()
getParameters in class org.springframework.data.repository.query.QueryMethodpublic boolean isCollectionQuery()
isCollectionQuery in class org.springframework.data.repository.query.QueryMethodpublic boolean isProcedureQuery()
Procedure annotation.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.