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 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)
           
 
Methods inherited from class org.springframework.data.repository.query.QueryMethod
createParameters, getDomainClass, getEntityInformation, getName, getNamedQueryName, getParameters, isCollectionQuery, isModifyingQuery, isPageQuery, toString
 
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()

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()

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.