public class GraphRepositoryQuery extends Object implements RepositoryQuery
RepositoryQuery
that handles mapping to object annotated with @Query
.Modifier and Type | Field and Description |
---|---|
protected org.neo4j.ogm.session.Session |
session |
Constructor and Description |
---|
GraphRepositoryQuery(GraphQueryMethod graphQueryMethod,
org.neo4j.ogm.session.Session session) |
Modifier and Type | Method and Description |
---|---|
protected Object |
execute(Class<?> returnType,
Class<?> concreteType,
String cypherQuery,
Map<String,Object> queryParams) |
Object |
execute(Object[] parameters) |
GraphQueryMethod |
getQueryMethod() |
protected String |
getQueryString() |
public GraphRepositoryQuery(GraphQueryMethod graphQueryMethod, org.neo4j.ogm.session.Session session)
public final Object execute(Object[] parameters)
execute
in interface RepositoryQuery
protected Object execute(Class<?> returnType, Class<?> concreteType, String cypherQuery, Map<String,Object> queryParams)
public GraphQueryMethod getQueryMethod()
getQueryMethod
in interface RepositoryQuery
protected String getQueryString()
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.