|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> store >> [ raw overview ] | PREV NEXT | ||||||||
Uses of Interface
org.apache.derby.iapi.store.raw.RecordHandle
| Uses of RecordHandle in org.apache.derby.iapi.store.raw |
| Methods in org.apache.derby.iapi.store.raw that return RecordHandle | |
RecordHandle |
Page.getInvalidRecordHandle()
Return an invalid record handle. |
RecordHandle |
Page.makeRecordHandle(int recordHandleConstant)
Return a record handle for the given constant record id. |
RecordHandle |
Page.getRecordHandle(int recordId)
Get a record handle from a previously stored record id. |
RecordHandle |
Page.fetch(RecordHandle handle,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns,
boolean forUpdate)
Fetch and lock a non-deleted record. |
RecordHandle |
Page.insert(java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns,
byte insertFlag,
int overflowThreshold)
Insert a record anywhere on the page. |
RecordHandle |
Page.getRecordHandleAtSlot(int slot)
Get the record handle of row at slot. |
RecordHandle |
Page.insertAtSlot(int slot,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo,
byte insertFlag,
int overflowThreshold)
Insert a record at the specified slot. |
RecordHandle |
Page.fetchFromSlot(RecordHandle rh,
int slot,
java.lang.Object[] row,
FetchDescriptor fetchDesc,
boolean ignoreDelete)
Fetch a record located in the passed in slot. |
RecordHandle |
Page.fetchFieldFromSlot(int slot,
int fieldId,
java.lang.Object column)
Fetch a single field from a deleted or non-deleted record. |
RecordHandle |
Page.updateFieldAtSlot(int slot,
int fieldId,
java.lang.Object newValue,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo)
Update a field within the record, replacing its current value with the stored representation of newValue. |
RecordHandle |
Page.deleteAtSlot(int slot,
boolean delete,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo)
Mark the record at slot as deleted or undeleted according to delete flag. |
RecordHandle |
Page.updateAtSlot(int slot,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns)
Update the complete record identified by the slot. |
RecordHandle |
LogicalUndoable.getRecordHandle()
Return the recordHandle stored in the log operation that correspond to the record that was changed in the rollforward. |
RecordHandle |
ContainerHandle.makeRecordHandle(long pageNumber,
int recordId)
Return a record handle that is initialized to the given segment id, container id, page number and record id. |
| Methods in org.apache.derby.iapi.store.raw with parameters of type RecordHandle | |
boolean |
Page.recordExists(RecordHandle handle,
boolean ignoreDelete)
does the record still exist on the page? |
RecordHandle |
Page.fetch(RecordHandle handle,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns,
boolean forUpdate)
Fetch and lock a non-deleted record. |
boolean |
Page.update(RecordHandle handle,
java.lang.Object[] row,
org.apache.derby.iapi.services.io.FormatableBitSet validColumns)
Update the record identified by the record handle. |
boolean |
Page.delete(RecordHandle handle,
org.apache.derby.iapi.store.access.conglomerate.LogicalUndo undo)
Mark the record identified by position as deleted. |
int |
Page.moveRecordForCompressAtSlot(int slot,
java.lang.Object[] row,
RecordHandle[] old_handle,
RecordHandle[] new_handle)
Move record to a page toward the beginning of the file. |
int |
Page.fetchNumFields(RecordHandle handle)
Fetch the number of fields in a record. |
int |
Page.getSlotNumber(RecordHandle handle)
Get the slot number. |
int |
Page.getNextSlotNumber(RecordHandle handle)
Find slot for record with an id greater than the passed in identifier. |
RecordHandle |
Page.fetchFromSlot(RecordHandle rh,
int slot,
java.lang.Object[] row,
FetchDescriptor fetchDesc,
boolean ignoreDelete)
Fetch a record located in the passed in slot. |
void |
LogicalUndoable.resetRecordHandle(RecordHandle rh)
If the row has moved, reset the record handle that the undo should be applied on. |
boolean |
LockingPolicy.lockRecordForRead(Transaction t,
ContainerHandle container,
RecordHandle record,
boolean waitForLock,
boolean forUpdate)
Called before a record is fetched. |
void |
LockingPolicy.lockRecordForRead(org.apache.derby.iapi.services.locks.Latch latch,
RecordHandle record,
boolean forUpdate)
Lock a record while holding a page latch. |
boolean |
LockingPolicy.zeroDurationLockRecordForWrite(Transaction t,
RecordHandle record,
boolean lockForPreviousKey,
boolean waitForLock)
Request a write lock which will be released immediately upon grant. |
boolean |
LockingPolicy.lockRecordForWrite(Transaction t,
RecordHandle record,
boolean lockForInsert,
boolean waitForLock)
Called before a record is inserted, updated or deleted. |
void |
LockingPolicy.lockRecordForWrite(org.apache.derby.iapi.services.locks.Latch latch,
RecordHandle record)
Lock a record for write while holding a page latch. |
void |
LockingPolicy.unlockRecordAfterRead(Transaction t,
ContainerHandle container,
RecordHandle record,
boolean forUpdate,
boolean row_qualified)
Called after a record has been fetched. |
void |
ContainerHandle.compactRecord(RecordHandle record)
This record probably has shrunk considerably. |
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> store >> [ raw overview ] | PREV NEXT | ||||||||