public interface KernelAPI
transaction context where changes done
inside the transaction are visible in read operations for statements
executed within that transaction context. Once committed
those changes are applied to the graph storage and made visible to all other transactions.
Read operations not associated with any particular transaction can be performed via
the read-only statement context.| Modifier and Type | Method and Description |
|---|---|
void |
bootstrapAfterRecovery()
Hook for actions to take place when the database is fully functional and any recovery has completed.
|
KernelTransaction |
newTransaction()
Creates and returns a new
KernelTransaction capable of modifying the
underlying graph. |
StatementOperationParts |
readOnlyStatementOperations() |
StatementOperationParts |
statementOperations()
Returns a
context that can be used for read operations
that aren't associated with any specific transaction. |
void bootstrapAfterRecovery()
KernelTransaction newTransaction()
KernelTransaction capable of modifying the
underlying graph. Changes made in it are visible within the transaction and can
be committed or rolled back.KernelTransaction for modifying the underlying graph.StatementOperationParts statementOperations()
context that can be used for read operations
that aren't associated with any specific transaction. Write operations on this
statement will throw exception.StatementOperations used for read operations not associated
with any transaction.StatementOperationParts readOnlyStatementOperations()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.