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.
(写出后,更新 Record 关于它在磁盘上的位置的想法。)
|
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
(接口 PositionDependentRecord 中的 getLastOnDiskOffset)
public void setLastOnDiskOffset(int offset)
setLastOnDiskOffset
in interface
PositionDependentRecord
(接口 PositionDependentRecord 中的 setLastOnDiskOffset)
public abstract void updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences
in interface
PositionDependentRecord
(接口 PositionDependentRecord 中的 updateOtherRecordReferences)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.