public abstract class KernelTransactionImplementation extends Object implements KernelTransaction
KernelTransaction interface, and take its name, as soon as
TransitionalTxManagementKernelTransaction is gone from server.| Modifier and Type | Method and Description |
|---|---|
DataStatement |
acquireDataStatement() |
ReadStatement |
acquireReadStatement() |
SchemaStatement |
acquireSchemaStatement() |
void |
commit()
Commit this transaction, this will make the changes in this context visible to other
transactions.
|
<RESULT,FAILURE extends KernelException> |
execute(MicroTransaction<RESULT,FAILURE> transaction) |
void |
rollback()
Roll back this transaction, undoing any changes that have been made.
|
public ReadStatement acquireReadStatement()
acquireReadStatement in interface KernelTransactionpublic DataStatement acquireDataStatement() throws InvalidTransactionTypeException
acquireDataStatement in interface KernelTransactionInvalidTransactionTypeExceptionpublic SchemaStatement acquireSchemaStatement() throws InvalidTransactionTypeException
acquireSchemaStatement in interface KernelTransactionInvalidTransactionTypeExceptionpublic void commit()
throws TransactionFailureException
KernelTransactioncommit in interface KernelTransactionTransactionFailureExceptionpublic void rollback()
throws TransactionFailureException
KernelTransactionrollback in interface KernelTransactionTransactionFailureExceptionpublic <RESULT,FAILURE extends KernelException> RESULT execute(MicroTransaction<RESULT,FAILURE> transaction) throws FAILURE extends KernelException
execute in interface KernelTransactionFAILURE extends KernelExceptionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.