public interface Transaction extends AutoCloseable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Transaction.Status |
| Modifier and Type | Method and Description |
|---|---|
void |
append(CypherContext context)
Adds a new cypher context to this transaction
|
void |
close() |
void |
commit() |
void |
rollback() |
Transaction.Status |
status()
return the status of the current transaction
|
String |
url()
The endpoint for this transaction
|
void append(CypherContext context)
context - The CypherContext that forms part of this transaction when committedString url()
void rollback()
void commit()
Transaction.Status status()
void close()
close in interface AutoCloseableCopyright © 2015 Neo Technology, Inc.. All rights reserved.