neodatis.odb 第一篇 存储对象的偏移地址

数据库文件存储对象的偏移地址


DB_HEADER_VERSION_POSITION  is: 0
DB_HEADER_DBID_POSITION  is: 1
DB_HEADER_NUMBER_OF_CLS_POSITION  is: 33
DB_HEADER_FIRST_CLS_OID  is: 37
DB_HEADER_LAST_CLOSE_STATUS_POSITION  is: 45


DB_HEADER_DB_IS_USER_PROTECTED  is: 46
DB_HEADER_DB_USERNAME  is: 47
DB_HEADER_DB_PASSWORD  is: 97
DB_HEADER_CURRENT_ID_BLOCK_POSITION  is: 147
DB_HEADER_FIRST_ID_BLOCK_POSITION  is: 155


CLASS_OFFSET_BLOCK_SIZE  is: 0
CLASS_OFFSET_BLOCK_TYPE  is: 4
CLASS_OFFSET_CATEGORY  is: 5
CLASS_OFFSET_ID  is: 6
CLASS_OFFSET_PREVIOUS_CLASS_POSITION  is: 14
CLASS_OFFSET_NEXT_CLASS_POSITION  is: 22
CLASS_OFFSET_CLASS_NB_OBJECTS  is: 30
CLASS_OFFSET_CLASS_FIRST_OBJECT_POSITION  is: 38
CLASS_OFFSET_CLASS_LAST_OBJECT_POSITION  is: 46
CLASS_OFFSET_CLASS_NAME_SIZE   is: 30


OBJECT_OFFSET_BLOCK_SIZE  is: 0
OBJECT_OFFSET_BLOCK_TYPE  is: 4
OBJECT_OFFSET_OBJECT_ID  is: 5
OBJECT_OFFSET_CLASS_INFO_ID  is: 13
OBJECT_OFFSET_PREVIOUS_OBJECT_OID  is: 21
OBJECT_OFFSET_NEXT_OBJECT_OID  is: 29
OBJECT_OID  is: 37
OBJECT_CREATION_DATE  is: 45
OBJECT_UPDATE_DATE  is: 53
OBJECT_VERSION  is: 61
OBJECT_REFERENCE_POINTER  is: 65
OBJECT_IS_EXTERNALLY_SYNCHRONIZED  is: 73
OBJECT_NB_ATTRIBUTES  is: 74


BLOCK_ID_REPETITION_ID_TYPE  is: 0
BLOCK_ID_REPETITION_ID  is: 1
BLOCK_ID_REPETITION_ID_STATUS  is: 9
BLOCK_ID_REPETITION_OBJECT_POSITION  is: 10


NATIVE_OBJECT_OFFSET_BLOCK_SIZE  is: 0
NATIVE_OBJECT_OFFSET_BLOCK_TYPE  is: 4
NATIVE_OBJECT_OFFSET_ODB_TYPE_ID  is: 5
NATIVE_OBJECT_OFFSET_OBJECT_IS_NULL  is: 9
NATIVE_OBJECT_OFFSET_DATA_AREA  is: 10

你可能感兴趣的:(DB)