| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionCopyRows(RawTransaction
The transaction t, BasePage the destination page destPage, BasePage the source page srcPage, int starting slot # of destination page to copy to srcSlot, int the number of rows to be copied numRows, int starting slot number of source page to copy from destSlot, int[] an array of record ids to use in the
destination page recordIds)Implements org. Copy num_rows from srcPage into deestpage. |
| public void | actionDelete(RawTransaction
The transaction t, BasePage the target page page, int the slot number of the record slot, int the recordID of the record recordId, boolean set the delete status to this value delete, LogicalUndo logical undo logic if necessary undo)Implements org. Set the Delete status of the record at the given slot. |
| public void | actionInitPage(RawTransaction
The transaction t, BasePage that page to be initialized page, int flags set to values in BasePage.INIT_PAGE_*
which indicates how the new page is to be
initialized. initFlag, int The format Id of the page being initialized. pageFormatId, long pageOffset)Implements org. Initialize the page due to allocation. |
| public int | actionInsert(RawTransaction
The transaction t, BasePage page, int the slot number of the record slot, int the recordID of the record recordId, Object[] The storable row row, FormatableBitSet validColumns, LogicalUndo if logical undo may be necessary, a function
pointer to the access code where the logical
undo logic resides. Null if logical undo is
not necessary. undo, byte see Page value for insertFlag insertFlag, int startColumn, boolean isLongColumn, int realStartColumn, DynamicByteArrayOutputStream logBuffer, int realSpaceOnPage, int overflowThreshold)Implements org. Insert record at the given slot with this recordId. |
| public void | actionInvalidatePage(RawTransaction
The transaction t, BasePage that page to be invalidated page)Implements org. Invalidate the page due to deallocation. |
| public void | actionPurge(RawTransaction
The transaction t, BasePage page, int the starting slot number of the record slot, int how many rows to purge num_rows, int[] the recordIDs of the record (an array of num_rows) recordIds, boolean logData)Implements org. Purge the record at the given slot. |
| public void | actionShrinkReservedSpace(RawTransaction
The transaction t, BasePage that page to be initialized page, int the slot number of the record slot, int the recordID of the record recordId, int the new reserved space value newValue, int oldValue)Implements org. Shrink the reserved space to the new value. |
| public int | actionUpdate(RawTransaction
The transaction t, BasePage the updated page page, int the slot number of the record slot, int the recordID of the record recordId, Object[] The new storable row row, FormatableBitSet the columns that needs to be updated validColumns, int the first column that is updated realStartColumn, DynamicByteArrayOutputStream where to prepare the log record logBuffer, int ?? realSpaceOnPage, RecordHandle the record handle of the head row headRowHandle)Implements org. Update record at the given slot with this row. |
| public void | actionUpdateField(RawTransaction
The transaction t, BasePage page, int the slot number of the record slot, int the recordID of the record recordId, int the fieldId of the value fieldId, Object the new value for the field newValue, LogicalUndo if logical undo may be necessary, a function
pointer to the access code where the logical undo
logic resides. Null if logical undo is not
necessary. undo)Implements org. Update a field of the record at the given slot with this value. |
| private void |
| LoggableActions | back to summary |
|---|---|
| public LoggableActions() | |
| actionCopyRows | back to summary |
|---|---|
| public void actionCopyRows(RawTransaction t, BasePage destPage, BasePage srcPage, int srcSlot, int numRows, int destSlot, int[] recordIds) throws StandardException Implements org. Doc from org. Copy num_rows from srcPage into deestpage. Longer descrption of routine.
| |
| actionDelete | back to summary |
|---|---|
| public void actionDelete(RawTransaction t, BasePage page, int slot, int recordId, boolean delete, LogicalUndo undo) throws StandardException Implements org. Doc from org. Set the Delete status of the record at the given slot. Subclass that implements this method has to call BasePage.setDeleteStatus to update the delete status on the in-memory slot table.
| |
| actionInitPage | back to summary |
|---|---|
| public void actionInitPage(RawTransaction t, BasePage page, int initFlag, int pageFormatId, long pageOffset) throws StandardException Implements org. Doc from org. Initialize the page due to allocation. Initialize the page due to allocation - this page could be brand new or it could be being re-allocated.
| |
| actionInsert | back to summary |
|---|---|
| public int actionInsert(RawTransaction t, BasePage page, int slot, int recordId, Object[] row, FormatableBitSet validColumns, LogicalUndo undo, byte insertFlag, int startColumn, boolean isLongColumn, int realStartColumn, DynamicByteArrayOutputStream logBuffer, int realSpaceOnPage, int overflowThreshold) throws StandardException Implements org. Doc from org. Insert record at the given slot with this recordId.
| |
| actionInvalidatePage | back to summary |
|---|---|
| public void actionInvalidatePage(RawTransaction t, BasePage page) throws StandardException Implements org. Doc from org. Invalidate the page due to deallocation. Short one line description of routine. Invalidate the page due to deallocation - this is the action on the page that is being deallocated as opposed to the action on the allocation page.
| |
| actionPurge | back to summary |
|---|---|
| public void actionPurge(RawTransaction t, BasePage page, int slot, int num_rows, int[] recordIds, boolean logData) throws StandardException Implements org. Doc from org. Purge the record at the given slot. Subclass that implements this method has to remove the slot from the base page in-memory slot table (removeAndShiftDown).
| |
| actionShrinkReservedSpace | back to summary |
|---|---|
| public void actionShrinkReservedSpace(RawTransaction t, BasePage page, int slot, int recordId, int newValue, int oldValue) throws StandardException Implements org. Doc from org. Shrink the reserved space to the new value. Shrink the reserved space to the new value. This action is not undoable.
| |
| actionUpdate | back to summary |
|---|---|
| public int actionUpdate(RawTransaction t, BasePage page, int slot, int recordId, Object[] row, FormatableBitSet validColumns, int realStartColumn, DynamicByteArrayOutputStream logBuffer, int realSpaceOnPage, RecordHandle headRowHandle) throws StandardException Implements org. Doc from org. Update record at the given slot with this row.
| |
| actionUpdateField | back to summary |
|---|---|
| public void actionUpdateField(RawTransaction t, BasePage page, int slot, int recordId, int fieldId, Object newValue, LogicalUndo undo) throws StandardException Implements org. Doc from org. Update a field of the record at the given slot with this value.
| |
| doAction | back to summary |
|---|---|
| private void doAction(RawTransaction t, BasePage page, Loggable lop) throws StandardException | |