public class ExecuteStatementsDelegate extends Object implements Capability.ExecuteStatements
| Constructor and Description |
|---|
ExecuteStatementsDelegate(Neo4jSession neo4jSession) |
| Modifier and Type | Method and Description |
|---|---|
QueryStatistics |
execute(String statement) |
QueryStatistics |
execute(String cypher,
Map<String,Object> parameters)
This method allows a cypher statement with a modification statement to be executed.
|
public ExecuteStatementsDelegate(Neo4jSession neo4jSession)
public QueryStatistics execute(String cypher, Map<String,Object> parameters)
Capability.ExecuteStatementsParameters may be scalars or domain objects themselves.
execute in interface Capability.ExecuteStatementscypher - The parametrisable cypher to execute.parameters - Any parameters to attach to the cypher. These may be domain objects or scalars. Note that
if a complex domain object is provided only the properties of that object will be set.
If relationships of a provided object also need to be set then the cypher should reflect this
and further domain object parameters provided.QueryStatistics representing statistics about graph modifications as a result of the cypher execution.public QueryStatistics execute(String statement)
execute in interface Capability.ExecuteStatementsCopyright © 2015 Neo Technology, Inc.. All rights reserved.