| 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 destSlot, int the number of rows to be copied numRows, int starting slot number of source page to copy from srcSlot, int[] an array of record ids to use in the
destination page recordIds)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)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)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)Insert record at the given slot with this recordId. |
| public void | actionInvalidatePage(RawTransaction
The transaction t, BasePage that page to be invalidated page)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)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)Shrink the reserved space to the new value. |
| public int | Returns: the next column to update in the row or, -1 if the update has been completed.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)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)Update a field of the record at the given slot with this value. |
| actionCopyRows | back to summary |
|---|---|
| public void actionCopyRows(RawTransaction t, BasePage destPage, BasePage srcPage, int destSlot, int numRows, int srcSlot, int[] recordIds) throws StandardException 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 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 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 Insert record at the given slot with this recordId.
| |
| actionInvalidatePage | back to summary |
|---|---|
| public void actionInvalidatePage(RawTransaction t, BasePage page) throws StandardException 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 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 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 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 Update a field of the record at the given slot with this value.
| |