|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDbStorage.driver.SsdDescriptorDriver
DbStorage.driver.NonPrimitiveSsdDescriptorDriver
This class drives a semistructured datum descriptor for a non-primitive datum. A non-primitive datum uses 4 data structures to storage its content, a non-primitive datum descriptor poits to these structures.
Field Summary | |
static int |
IDS_HEAD_OFFSET
|
static int |
IDS_ROOT_OFFSET
|
static int |
LABELS_HEAD_OFFSET
|
static int |
LABELS_ROOT_OFFSET
|
Fields inherited from class DbStorage.driver.SsdDescriptorDriver |
DICTIONARY_REFERENCES_OFFSET, FIRST_PARENT_OFFSET, HEAD_PARENTS_COLLECTION_OFFSET, ROOT_PARENTS_COLLECTION_OFFSET, TYPE_OFFSET |
Constructor Summary | |
NonPrimitiveSsdDescriptorDriver()
|
Method Summary | |
static void |
getIdsHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the head's address (in the content segment) of the id ordered list collection of labeled SSD contained in the specified datum. |
static void |
getIdsRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the root's address (in the content segment) of the id ordered tree collection of labeled SSD contained in the specified datum. |
static void |
getLabelsHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the head's address (in the content segment) of the label ordered tree collection of labeled SSD contained in the specified datum. |
static void |
getLabelsRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress destiny)
Gets the root's address (in the content segment) of the label ordered tree collection of labeled SSD contained in the specified datum. |
static void |
setIdsHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the head's address (in the content segment) of the id ordered list collection of labeled SSD contained in the specified datum. |
static void |
setIdsRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the root's address (in the content segment) of the id ordered tree collection of labeled SSD contained in the specified datum. |
static void |
setLabelsHead(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the head's address (in the content segment) of the label ordered tree collection of labeled SSD contained in the specified datum. |
static void |
setLabelsRoot(DbStorageManager dbsm,
long transactionNumber,
DbUnitAddress unitAddress,
DbUnitAddress source)
Sets the root's address (in the content segment) of the label ordered tree collection of labeled SSD contained in the specified datum. |
Methods inherited from class DbStorage.driver.SsdDescriptorDriver |
createSsdDescriptor, getDictionaryReferences, getFirstParent, getHeadParentsCollection, getRootParentsCollection, getType, setDictionaryReferences, setFirstParent, setHeadParentsCollection, setRootParentsCollection, setType |
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 LABELS_ROOT_OFFSET
public static final int LABELS_HEAD_OFFSET
Constructor Detail |
public NonPrimitiveSsdDescriptorDriver()
Method Detail |
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 SSD descriptor.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 SSD descriptor.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 SSD descriptor.destiny
- Where the retrieved 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 SSD descriptor.source
- Where the unit address is stored.
storage.StorageException
java.io.IOException
public static void getLabelsRoot(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 SSD descriptor.destiny
- Where the retrieved unit address will be stored.
storage.StorageException
java.io.IOException
public static void setLabelsRoot(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 SSD descriptor.source
- Where the unit address is stored.
storage.StorageException
java.io.IOException
public static void getLabelsHead(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 SSD descriptor.destiny
- Where the retrieved unit address will be stored.
storage.StorageException
java.io.IOException
public static void setLabelsHead(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 SSD descriptor.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 |