org.springframework.data.neo4j.repository.query
Class GraphQueryMethod
java.lang.Object
org.springframework.data.repository.query.QueryMethod
org.springframework.data.neo4j.repository.query.GraphQueryMethod
public class GraphQueryMethod
- extends org.springframework.data.repository.query.QueryMethod
- Since:
- 31.10.11
- Author:
- mh
Constructor Summary |
GraphQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.repository.core.NamedQueries namedQueries,
Neo4jMappingContext mappingContext)
|
Methods inherited from class org.springframework.data.repository.query.QueryMethod |
createParameters, getDomainClass, getEntityInformation, getName, getParameters, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity |
GraphQueryMethod
public GraphQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.repository.core.NamedQueries namedQueries,
Neo4jMappingContext mappingContext)
getQueryString
public String getQueryString()
getNamedQueryName
public String getNamedQueryName()
- Overrides:
getNamedQueryName
in class org.springframework.data.repository.query.QueryMethod
getCountQueryString
public String getCountQueryString()
isValid
public boolean isValid()
getReturnType
public Class<?> getReturnType()
resolveParams
protected Map<String,Object> resolveParams(org.springframework.data.repository.query.ParameterAccessor accessor,
ParameterResolver parameterResolver)
hasAnnotation
public boolean hasAnnotation()
createQuery
public org.springframework.data.repository.query.RepositoryQuery createQuery(Neo4jTemplate template)
isSetResult
public boolean isSetResult()
hasResultOfType
public boolean hasResultOfType(Class<?> superClass)
isCollectionResult
public boolean isCollectionResult()
toString
public String toString()
- Overrides:
toString
in class org.springframework.data.repository.query.QueryMethod
Copyright © 2013 SpringSource. All Rights Reserved.