When the Graph is used by a Scenario, this method will be called at the end of execution, regardless if the result was an error or not.
When the Graph is used by a Scenario, this method will be called at the end of execution, regardless if the result was an error or not. Immutable implementations that return different graphs have to close the old instances explicitly when returning a new reference.
execute
Executes a Cypher query with the provided parameters.
Executes a Cypher query with the provided parameters.
Additionally, this call provides a metadata tag for the step type that requests the query to be executed. This allows implementations to use the TCK for validation of supported subsets of Cypher functionality by mapping initial state setup and side effect validation to alternative functionality in the implementation. Implementations that support all the necessary constructs used in these steps should ignore this parameter.
the Cypher query to execute.
the parameters for the query.
metadata tag which specifies what kind of step the query is executed in.
the graph in its state after having executed the query, and the result table of the query.
Executes a Cypher query with the provided parameters.
Executes a Cypher query with the provided parameters. This version also returns the graph in its state after the query has been executed, for implementations that have immutable graphs.
Additionally, this call provides a metadata tag for the step type that requests the query to be executed. This allows implementations to use the TCK for validation of supported subsets of Cypher functionality by mapping initial state setup and side effect validation to alternative functionality in the implementation. Implementations that support all the necessary constructs used in these steps should ignore this parameter.
the Cypher query to execute.
the parameters for the query.
metadata tag which specifies what kind of step the query is executed in.
the graph in its state after having executed the query, and the result table of the query.
Mutable implementations implement .cypher Immutable implementations implement .execute
An implementation will not have to implement .cypher if .execute is overridden.