public class CypherQuery extends Object implements Statement
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
parameters |
protected String |
statement |
| Constructor and Description |
|---|
CypherQuery(String cypher,
Map<String,?> parameters)
Constructs a new
CypherQuery based on the given Cypher query string and query parameters. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getParameters() |
String[] |
getResultDataContents() |
String |
getStatement() |
boolean |
isIncludeStats() |
Optional<OptimisticLockingConfig> |
optimisticLockingConfig() |
protected String statement
public CypherQuery(String cypher, Map<String,?> parameters)
CypherQuery based on the given Cypher query string and query parameters.cypher - The parameterised Cypher query stringparameters - The name-value pairs that satisfy the parameters in the given querypublic String getStatement()
getStatement in interface Statementpublic Map<String,Object> getParameters()
getParameters in interface Statementpublic String[] getResultDataContents()
getResultDataContents in interface Statementpublic boolean isIncludeStats()
isIncludeStats in interface Statementpublic Optional<OptimisticLockingConfig> optimisticLockingConfig()
optimisticLockingConfig in interface StatementCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.