
public interface OTransactionInternal extends OBasicTransaction
DELETED_RECORD| Modifier and Type | Method and Description |
|---|---|
ODatabaseDocumentInternal |
getDatabase()
Access to the database of the transaction
|
Map<String,OTransactionIndexChanges> |
getIndexOperations()
Extract all the calculated index operations for the current transaction changes, the key of the map is the index name the value
all the changes for the specified index.
|
ORecordOperation |
getRecordEntry(ORID currentRid)
Extract a single change from a specified record id.
|
Collection<ORecordOperation> |
getRecordOperations()
Extract all the record operations for the current transaction
|
boolean |
isUsingLog()
Retrieve if log is enabled for the transaction
|
void |
setDatabase(ODatabaseDocumentInternal database) |
void |
setStatus(OTransaction.TXSTATUS iStatus)
Change the status of the transaction.
|
void |
updateIdentityAfterCommit(ORID oldRID,
ORID rid)
Notify the transaction for the rid change, the changed will be tracked inside the transaction and used for remapping links.
|
addChangedDocument, addIndexEntry, deleteRecord, getClientTransactionId, getCustomData, getId, getIndexChanges, getIndexChangesInternal, getRecord, isActive, saveRecord, setCustomDataCollection<ORecordOperation> getRecordOperations()
Map<String,OTransactionIndexChanges> getIndexOperations()
void setStatus(OTransaction.TXSTATUS iStatus)
iStatus - ODatabaseDocumentInternal getDatabase()
void updateIdentityAfterCommit(ORID oldRID, ORID rid)
oldRID - the id old value.rid - the id new value.boolean isUsingLog()
ORecordOperation getRecordEntry(ORID currentRid)
currentRid - the record id for the change.void setDatabase(ODatabaseDocumentInternal database)
Copyright © 2009–2025 OrientDB. All rights reserved.