|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> store >> raw >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.store.raw.data
Interface PageActions

- All Known Implementing Classes:
- DirectActions, LoggableActions
- public interface PageActions
| Method Summary | |
void |
actionCopyRows(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage destPage,
BasePage srcPage,
int destSlot,
int numRows,
int srcSlot,
int[] recordIds)
Copy num_rows from srcPage into deestpage. |
void |
actionDelete(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int slot,
int recordId,
boolean delete,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo)
Set the Delete status of the record at the given slot. |
void |
actionInitPage(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int initFlag,
int pageFormatId,
long pageOffset)
Initialize the page due to allocation. |
int |
actionInsert(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int slot,
int recordId,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo,
byte insertFlag,
int startColumn,
boolean isLongColumn,
int realStartColumn,
org.apache.derby.iapi.services.io.DynamicByteArrayOutputStream logBuffer,
int realSpaceOnPage,
int overflowThreshold)
Insert record at the given slot with this recordId. |
void |
actionInvalidatePage(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page)
Invalidate the page due to deallocation. |
void |
actionPurge(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int slot,
int num_rows,
int[] recordIds,
boolean logData)
Purge the record at the given slot. |
void |
actionShrinkReservedSpace(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int slot,
int recordId,
int newValue,
int oldValue)
Shrink the reserved space to the new value. |
int |
actionUpdate(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int slot,
int recordId,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns,
int realStartColumn,
org.apache.derby.iapi.services.io.DynamicByteArrayOutputStream logBuffer,
int realSpaceOnPage,
org.apache.derby.iapi.store.raw.RecordHandle headRowHandle)
Update record at the given slot with this row. |
void |
actionUpdateField(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage page,
int slot,
int recordId,
int fieldId,
java.lang.Object newValue,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo)
Update a field of the record at the given slot with this value. |
| Method Detail |
actionDelete
public void actionDelete(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int slot, int recordId, boolean delete, org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo) throws org.apache.derby.iapi.error.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.
MT - latched, page is latched when this methods is called.
actionUpdate
public int actionUpdate(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int slot, int recordId, java.lang.Object[] row, org.apache.derby.iapi.services.io.FormatableBitSet validColumns, int realStartColumn, org.apache.derby.iapi.services.io.DynamicByteArrayOutputStream logBuffer, int realSpaceOnPage, org.apache.derby.iapi.store.raw.RecordHandle headRowHandle) throws org.apache.derby.iapi.error.StandardException
- Update record at the given slot with this row.
MT - latched, page is latched when this methods is called.
actionPurge
public void actionPurge(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int slot, int num_rows, int[] recordIds, boolean logData) throws org.apache.derby.iapi.error.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).
MT - latched, page is latched when this methods is called.
actionUpdateField
public void actionUpdateField(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int slot, int recordId, int fieldId, java.lang.Object newValue, org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo) throws org.apache.derby.iapi.error.StandardException
- Update a field of the record at the given slot with this value.
MT - latched, page is latched when this methods is called.
actionInsert
public int actionInsert(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int slot, int recordId, java.lang.Object[] row, org.apache.derby.iapi.services.io.FormatableBitSet validColumns, org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo, byte insertFlag, int startColumn, boolean isLongColumn, int realStartColumn, org.apache.derby.iapi.services.io.DynamicByteArrayOutputStream logBuffer, int realSpaceOnPage, int overflowThreshold) throws org.apache.derby.iapi.error.StandardException
- Insert record at the given slot with this recordId.
MT - latched, page is latched when this methods is called.
actionCopyRows
public void actionCopyRows(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage destPage, BasePage srcPage, int destSlot, int numRows, int srcSlot, int[] recordIds) throws org.apache.derby.iapi.error.StandardException
- Copy num_rows from srcPage into deestpage.
Longer descrption of routine.
actionInvalidatePage
public void actionInvalidatePage(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page) throws org.apache.derby.iapi.error.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.
actionInitPage
public void actionInitPage(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int initFlag, int pageFormatId, long pageOffset) throws org.apache.derby.iapi.error.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.
actionShrinkReservedSpace
public void actionShrinkReservedSpace(org.apache.derby.iapi.store.raw.xact.RawTransaction t, BasePage page, int slot, int recordId, int newValue, int oldValue) throws org.apache.derby.iapi.error.StandardException
- Shrink the reserved space to the new value.
Shrink the reserved space to the new value. This action is not undoable.
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> store >> raw >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC