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.
(从 PersistPtrHolder 中获取我们的工作表 ID。)
|
void |
setLastOnDiskOffset(int offset)
Update the Record's idea of where on disk it lives, after a write out.
(写出后,更新 Record 关于它在磁盘上的位置的想法。)
|
void |
setSheetId(int id)
Set our sheet ID, as found from a PersistPtrHolder
(设置我们的工作表 ID,从 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, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, getRecordType, writeLittleEndian, writeLittleEndian, writeOut
public int getSheetId()
public void setSheetId(int id)
public int getLastOnDiskOffset()
getLastOnDiskOffset
in interface
PositionDependentRecord
(接口 PositionDependentRecord 中的 getLastOnDiskOffset)
public void setLastOnDiskOffset(int offset)
setLastOnDiskOffset
in interface
PositionDependentRecord
(接口 PositionDependentRecord 中的 setLastOnDiskOffset)
public 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.