|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDbStorage.manager.IdManager
This class is used to create new semistructured data.
Constructor Summary | |
IdManager()
|
Method Summary | |
static void |
createBLOB(DbStorageManager dbsm,
long transactionNumber,
PhysicalID newID)
Creates a primitive BLOB datum. |
static void |
createByteSequence(DbStorageManager dbsm,
long transactionNumber,
byte[] value,
PhysicalID newID)
Creates a byte sequence primitive datum. |
static void |
createCLOB(DbStorageManager dbsm,
long transactionNumber,
PhysicalID newID)
Creates a primitive CLOB datum. |
static void |
createInteger(DbStorageManager dbsm,
long transactionNumber,
long value,
PhysicalID newID)
Creates a integer primitive datum. |
static void |
createNonPrimitive(DbStorageManager dbsm,
long transactionNumber,
PhysicalID newID)
Creates a non primitive datum. |
static void |
createReal(DbStorageManager dbsm,
long transactionNumber,
double value,
PhysicalID newID)
Creates a real primitive datum. |
static void |
createString(DbStorageManager dbsm,
long transactionNumber,
java.lang.String value,
PhysicalID newID)
Creates a strin primitive datum. |
static byte[] |
getSimpleContent(DbStorageManager dbsm,
long transactionNumber,
PhysicalID id)
Returns the byte representation of the content of a simple primitive datum. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdManager()
Method Detail |
public static void createNonPrimitive(DbStorageManager dbsm, long transactionNumber, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
public static void createBLOB(DbStorageManager dbsm, long transactionNumber, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
public static void createCLOB(DbStorageManager dbsm, long transactionNumber, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
public static byte[] getSimpleContent(DbStorageManager dbsm, long transactionNumber, PhysicalID id) throws storage.StorageException, java.io.IOException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.id
- The identifier of the simple primitive datum.
storage.StorageException
java.io.IOException
public static void createInteger(DbStorageManager dbsm, long transactionNumber, long value, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.value
- The value of the datum.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
public static void createReal(DbStorageManager dbsm, long transactionNumber, double value, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.value
- The value of the datum.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
public static void createString(DbStorageManager dbsm, long transactionNumber, java.lang.String value, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.value
- The value of the datum.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
public static void createByteSequence(DbStorageManager dbsm, long transactionNumber, byte[] value, PhysicalID newID) throws storage.StorageException, java.io.IOException, UnavailableUnitException
dbsm
- The data base storage manager where the operation will be performed.transactionNumber
- The number of transaction.value
- The value of the datum.newID
- Where the identifier of the new datum is stored.
storage.StorageException
java.io.IOException
UnavailableUnitException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |