public abstract class PositionDependentRecordContainer extends RecordContainer implements PositionDependentRecord
_children| Constructor and Description |
|---|
PositionDependentRecordContainer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastOnDiskOffset()
Fetch our location on the disk, as of the last write out
|
int |
getSheetId()
Fetch our sheet ID, as found from a PersistPtrHolder.
|
void |
setLastOnDiskOffset(int offset)
Update the Record's idea of where on disk it lives, after a write out.
|
void |
setSheetId(int id)
Set our sheet ID, as found from a PersistPtrHolder
|
void |
updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
Since we're a container, we don't mind if other records move about.
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOutbuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, getRecordType, writeLittleEndian, writeLittleEndian, writeOutpublic int getSheetId()
public void setSheetId(int id)
public int getLastOnDiskOffset()
getLastOnDiskOffset in interface PositionDependentRecordpublic void setLastOnDiskOffset(int offset)
setLastOnDiskOffset in interface PositionDependentRecordpublic void updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences in interface PositionDependentRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.