|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.cypher.javacompat.ExecutionEngine
public class ExecutionEngine
To run a Query
, use this class.
Constructor Summary | |
---|---|
ExecutionEngine(GraphDatabaseService database)
Creates an execution engine around the give graph database |
Method Summary | |
---|---|
ExecutionResult |
execute(org.neo4j.cypher.commands.Query query)
Executes a Query and returns an iterable that contains the result set |
ExecutionResult |
execute(org.neo4j.cypher.commands.Query query,
Map<String,Object> params)
Executes a Query and returns an iterable that contains the result set |
ExecutionResult |
execute(String query)
Executes a query and returns an iterable that contains the result set |
ExecutionResult |
execute(String query,
Map<String,Object> params)
Executes a Query and returns an iterable that contains the result set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutionEngine(GraphDatabaseService database)
database
- The database to wrapMethod Detail |
---|
public ExecutionResult execute(org.neo4j.cypher.commands.Query query) throws org.neo4j.cypher.SyntaxException
Query
and returns an iterable that contains the result set
query
- The query to execute
org.neo4j.cypher.SyntaxException
- If the Query contains errors,
a SyntaxException exception might be thrownpublic ExecutionResult execute(String query) throws org.neo4j.cypher.SyntaxException
query
- The query to execute
org.neo4j.cypher.SyntaxException
- If the Query contains errors,
a SyntaxException exception might be thrownpublic ExecutionResult execute(org.neo4j.cypher.commands.Query query, Map<String,Object> params) throws org.neo4j.cypher.SyntaxException
Query
and returns an iterable that contains the result set
query
- The query to executeparams
- Parameters for the query
org.neo4j.cypher.SyntaxException
- If the Query contains errors,
a SyntaxException exception might be thrownpublic ExecutionResult execute(String query, Map<String,Object> params) throws org.neo4j.cypher.SyntaxException
Query
and returns an iterable that contains the result set
query
- The query to executeparams
- Parameters for the query
org.neo4j.cypher.SyntaxException
- If the Query contains errors,
a SyntaxException exception might be thrown
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |