Spring Data Neo4j

org.springframework.data.neo4j.repository.query
Class GraphQueryMethod

java.lang.Object
  extended by org.springframework.data.repository.query.QueryMethod
      extended by 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)
           
 
Method Summary
 org.springframework.data.repository.query.RepositoryQuery createQuery(Neo4jTemplate template)
           
 String getCountQueryString()
           
 String getNamedQueryName()
           
 String getQueryString()
           
 Class<?> getReturnType()
           
 boolean hasAnnotation()
           
 boolean hasResultOfType(Class<?> superClass)
           
 boolean isCollectionResult()
           
 boolean isSetResult()
           
 boolean isValid()
           
protected  Map<String,Object> resolveParams(org.springframework.data.repository.query.ParameterAccessor accessor, ParameterResolver parameterResolver)
           
 String toString()
           
 
Methods inherited from class org.springframework.data.repository.query.QueryMethod
createParameters, getDomainClass, getEntityInformation, getName, getParameters, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphQueryMethod

public GraphQueryMethod(Method method,
                        org.springframework.data.repository.core.RepositoryMetadata metadata,
                        org.springframework.data.repository.core.NamedQueries namedQueries,
                        Neo4jMappingContext mappingContext)
Method Detail

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

Spring Data Neo4j

Copyright © 2013 SpringSource. All Rights Reserved.