|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDbStorage.driver.DictionaryHeaderDriver
This class drives a dictionary header, this is stored in the DICTIONARY segment. In a similar way of content' nodes the dictionary header keeps 4 data structures, the header points tho these structures.
Field Summary | |
static int |
IDS_HEAD_OFFSET
|
static int |
IDS_ROOT_OFFSET
|
static int |
NAMES_HEAD_OFFSET
|
static int |
NAMES_ROOT_OFFSET
|
Constructor Summary | |
DictionaryHeaderDriver()
|
Method Summary | |
static void |
createDictionaryHeader(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress)
Creates a dictionary header. |
static void |
getIdsHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the head's address (in the DICTIONARY segment) of the id ordered list collection of labeled SSD contained in the dictionary. |
static void |
getIdsRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the root's address (in the DICTIONARY segment) of the id ordered tree collection of labeled SSD contained in the dictionary. |
static void |
getNamesHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the head's address (in the DICTIONARY segment) of the label ordered tree collection of labeled SSD contained in the dictionary. |
static void |
getNamesRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the root's address (in the DICTIONARY segment) of the label ordered tree collection of labeled SSD contained in the dictionary. |
static void |
setIdsHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the head's address (in the DICTIONARY segment) of the id ordered list collection of labeled SSD contained in the dictionary. |
static void |
setIdsRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the root's address (in the DICTIONARY segment) of the id ordered tree collection of labeled SSD contained in the dictionary. |
static void |
setNamesHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the head's address (in the DICTIONARY segment) of the label ordered tree collection of labeled SSD contained in the dictionary. |
static void |
setNamesRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the root's address (in the DICTIONARY segment) of the label ordered tree collection of labeled SSD contained in the dictionary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int IDS_ROOT_OFFSET
public static final int IDS_HEAD_OFFSET
public static final int NAMES_ROOT_OFFSET
public static final int NAMES_HEAD_OFFSET
Constructor Detail |
public DictionaryHeaderDriver()
Method Detail |
public static void createDictionaryHeader(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address where the structure will be stored in the DICTIONARY segment.
storage.StorageException
java.io.IOException
public static void getIdsRoot(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress destiny) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.destiny
- Where the retrieved unit address will be stored.
storage.StorageException
java.io.IOException
public static void setIdsRoot(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress source) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.source
- Where the unit address is stored.
storage.StorageException
java.io.IOException
public static void getIdsHead(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress destiny) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.destiny
- Where the unit address will be stored.
storage.StorageException
java.io.IOException
public static void setIdsHead(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress source) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.source
- Where the unit address is stored.
storage.StorageException
java.io.IOException
public static void getNamesRoot(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress destiny) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.destiny
- Where the retrieved unit address will be stored.
storage.StorageException
java.io.IOException
public static void setNamesRoot(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress source) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.source
- Where the unit address is stored.
storage.StorageException
java.io.IOException
public static void getNamesHead(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress destiny) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.destiny
- Where the unit address will be stored.
storage.StorageException
java.io.IOException
public static void setNamesHead(DbStorageManager dbsm, long transactionNumber, DbUnitAddress unitAddress, DbUnitAddress source) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.unitAddress
- The address of the dictionary header.source
- Where the unit address is stored.
storage.StorageException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |