public abstract class PositionDependentRecordAtom extends RecordAtom implements PositionDependentRecord
Constructor and Description |
---|
PositionDependentRecordAtom() |
Modifier and Type | Method and Description |
---|---|
int |
getLastOnDiskOffset()
Fetch our location on the disk, as of the last write out
|
void |
setLastOnDiskOffset(int offset)
Update the Record's idea of where on disk it lives, after a write out.
|
abstract void |
updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
Offer the record the list of records that have changed their
location as part of the writeout.
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, getRecordType, writeLittleEndian, writeLittleEndian, writeOut
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericProperties
public int getLastOnDiskOffset()
getLastOnDiskOffset
in interface PositionDependentRecord
public void setLastOnDiskOffset(int offset)
setLastOnDiskOffset
in interface PositionDependentRecord
public abstract void updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences
in interface PositionDependentRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.