| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Neo4jTransaction> |
__TYPE_ARG |
| Constructor and Description |
|---|
Neo4jTransaction(Neo4jTransaction delegate) |
Neo4jTransaction(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
Neo4jTransaction |
commit(Handler<AsyncResult<Void>> resultHandler)
Commits the transaction
|
boolean |
equals(Object o) |
Neo4jTransaction |
getDelegate() |
int |
hashCode() |
static Neo4jTransaction |
newInstance(Neo4jTransaction arg) |
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
|
Single<Void> |
rxCommit()
Commits the transaction
|
Single<ResultSummary> |
rxQuery(Query query)
Executes a query in a transaction
|
Single<ResultSummary> |
rxQuery(String query,
Value parameters)
Executes a query in a transaction
|
Single<List<Record>> |
rxReadQuery(Query query)
Executes a read query in a transaction
|
Single<Void> |
rxRollback()
Rollbacks the transaction
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Neo4jTransaction> __TYPE_ARG
public Neo4jTransaction(Neo4jTransaction delegate)
public Neo4jTransaction(Object delegate)
public Neo4jTransaction getDelegate()
public Neo4jTransaction commit(Handler<AsyncResult<Void>> resultHandler)
resultHandler - the handler to be notified when the transaction commit has completedpublic Single<Void> rxCommit()
public Neo4jTransaction rollback(Handler<AsyncResult<Void>> resultHandler)
resultHandler - the handler to be notified when the transaction rollback has completedpublic Single<Void> rxRollback()
public 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 completedpublic Single<ResultSummary> rxQuery(String query, Value parameters)
query - the cypher queryparameters - the cypher parameterspublic Neo4jTransaction query(Query query, Handler<AsyncResult<ResultSummary>> resultHandler)
query - the cypher statementresultHandler - the handler to be called when the query has completedpublic Single<ResultSummary> rxQuery(Query query)
query - the cypher statementpublic Neo4jTransaction readQuery(Query query, Handler<AsyncResult<List<Record>>> resultHandler)
query - the cypher statementresultHandler - the handler to be called when the query has completedpublic Single<List<Record>> rxReadQuery(Query query)
query - the cypher statementpublic static Neo4jTransaction newInstance(Neo4jTransaction arg)
Copyright © 2020 Eclipse. All rights reserved.