public class SimpleTransaction extends Object implements Transaction
Transaction.Status| Constructor and Description |
|---|
SimpleTransaction(MappingContext mappingContext,
String url) |
| 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
|
public SimpleTransaction(MappingContext mappingContext, String url)
public final void append(CypherContext context)
Transactionappend in interface Transactioncontext - The CypherContext that forms part of this transaction when committedpublic final String url()
Transactionurl in interface Transactionpublic void rollback()
rollback in interface Transactionpublic void commit()
commit in interface Transactionpublic final Transaction.Status status()
Transactionstatus in interface Transactionpublic void close()
close in interface AutoCloseableclose in interface TransactionCopyright © 2015 Neo Technology, Inc.. All rights reserved.