public interface Neo4jTransaction
| Modifier and Type | Method and Description |
|---|---|
Neo4jTransaction |
commit(Handler<AsyncResult<Void>> resultHandler)
Commits the transaction
|
Neo4jTransaction |
query(Query query,
Handler<AsyncResult<ResultSummary>> resultHandler)
Executes a query in a transaction
|
Neo4jTransaction |
query(String query,
Value parameters,
Handler<AsyncResult<ResultSummary>> resultHandler)
Executes a query in a transaction
|
Neo4jTransaction |
readQuery(Query query,
Handler<AsyncResult<List<Record>>> resultHandler)
Executes a read query in a transaction
|
Neo4jTransaction |
rollback(Handler<AsyncResult<Void>> resultHandler)
Rollbacks the transaction
|
Neo4jTransaction query(String query, Value parameters, Handler<AsyncResult<ResultSummary>> resultHandler)
query - the cypher queryparameters - the cypher parametersresultHandler - the handler to be called when the query has completedNeo4jTransaction query(Query query, Handler<AsyncResult<ResultSummary>> resultHandler)
query - the cypher statementresultHandler - the handler to be called when the query has completedNeo4jTransaction readQuery(Query query, Handler<AsyncResult<List<Record>>> resultHandler)
query - the cypher statementresultHandler - the handler to be called when the query has completedNeo4jTransaction commit(Handler<AsyncResult<Void>> resultHandler)
resultHandler - the handler to be notified when the transaction commit has completedNeo4jTransaction rollback(Handler<AsyncResult<Void>> resultHandler)
resultHandler - the handler to be notified when the transaction rollback has completedCopyright © 2020 Eclipse. All rights reserved.