Spring Data Graph

org.springframework.data.neo4j.support.query
Class CypherQueryExecutor

java.lang.Object
  extended by org.springframework.data.neo4j.support.query.CypherQueryExecutor
All Implemented Interfaces:
QueryOperations<Map<String,Object>>

public class CypherQueryExecutor
extends Object
implements QueryOperations<Map<String,Object>>

Since:
10.06.11 todo limits
Author:
mh

Constructor Summary
CypherQueryExecutor(GraphDatabaseContext ctx)
           
 
Method Summary
<T> Iterable<T>
query(String statement, Class<T> type, Map<String,Object> params)
           
 Iterable<Map<String,Object>> queryForList(String statement, Map<String,Object> params)
           
<T> T
queryForObject(String statement, Class<T> type, Map<String,Object> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CypherQueryExecutor

public CypherQueryExecutor(GraphDatabaseContext ctx)
Method Detail

queryForList

public Iterable<Map<String,Object>> queryForList(String statement,
                                                 Map<String,Object> params)
Specified by:
queryForList in interface QueryOperations<Map<String,Object>>

query

public <T> Iterable<T> query(String statement,
                             Class<T> type,
                             Map<String,Object> params)
Specified by:
query in interface QueryOperations<Map<String,Object>>

queryForObject

public <T> T queryForObject(String statement,
                            Class<T> type,
                            Map<String,Object> params)
Specified by:
queryForObject in interface QueryOperations<Map<String,Object>>

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.