It has specific page information such as its segment Id, container Id, page number, and it knows how to restore a storable row from the information stored in the log record.
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo
| Modifier and Type | Method and Description |
|---|---|
| public ContainerHandle | |
| public RecordHandle | getRecordHandle()
Return the recordHandle stored in the log operation that correspond to the record that was changed in the rollforward. |
| public void | resetRecordHandle(RecordHandle
the RecordHandle that represents the row's new location rh)If the row has moved, reset the record handle that the undo should be applied on. |
| public void | restoreLoggedRow(Object[]
an IN/OUT parameter, caller passed in the row with
the correct column number and type, the log operation will restore the
row with the optional data stored in the log record. row, LimitObjectInput in)Restore the row stored in the log operation. |
| getContainer | back to summary |
|---|---|
| public ContainerHandle getContainer() throws StandardException Return the containerHandle used by this log operation. Logical cannot change container identity between roll forward and roll back. This method should only be called by LogicalUndo to extract information from the log record.
| |
| getRecordHandle | back to summary |
|---|---|
| public RecordHandle getRecordHandle() Return the recordHandle stored in the log operation that correspond to the record that was changed in the rollforward. This method should only be called by LogicalUndo to extract information from the log record. | |
| resetRecordHandle | back to summary |
|---|---|
| public void resetRecordHandle(RecordHandle rh) If the row has moved, reset the record handle that the undo should be applied on.
| |
| restoreLoggedRow | back to summary |
|---|---|
| public void restoreLoggedRow(Object[] row, LimitObjectInput in) throws StandardException, IOException Restore the row stored in the log operation. This method should only be called by LogicalUndo to extract information from the log record.
| |