public class GraphQueryMethod
extends org.springframework.data.repository.query.QueryMethod
| Constructor and Description |
|---|
GraphQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.repository.query.Parameters<?,?> |
createParameters(Method method) |
String |
getCountQueryString() |
Method |
getMethod() |
String |
getNamedQueryName()
Returns the name of the named query this method belongs to.
|
GraphParameters |
getParameters() |
String |
getQuery() |
Integer |
getQueryDepthParamIndex() |
boolean |
hasAnnotatedQuery() |
public GraphQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory)
protected org.springframework.data.repository.query.Parameters<?,?> createParameters(Method method)
createParameters in class org.springframework.data.repository.query.QueryMethodpublic GraphParameters getParameters()
getParameters in class org.springframework.data.repository.query.QueryMethodpublic String getQuery()
public Method getMethod()
public String getNamedQueryName()
getNamedQueryName in class org.springframework.data.repository.query.QueryMethodpublic Integer getQueryDepthParamIndex()
public String getCountQueryString()
public boolean hasAnnotatedQuery()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.