public static final class LobStorageMap.BlobMeta.Type extends BasicDataType<LobStorageMap.BlobMeta>
| Modifier and Type | Field and Description |
|---|---|
static LobStorageMap.BlobMeta.Type |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
LobStorageMap.BlobMeta[] |
createStorage(int size)
Create storage object of array type to hold values
|
int |
getMemory(LobStorageMap.BlobMeta blobMeta)
Calculates the amount of used memory in bytes.
|
LobStorageMap.BlobMeta |
read(java.nio.ByteBuffer buff)
Read an object.
|
void |
write(WriteBuffer buff,
LobStorageMap.BlobMeta blobMeta)
Write an object.
|
binarySearch, cast, compare, equals, hashCode, isMemoryEstimationAllowed, read, writepublic static final LobStorageMap.BlobMeta.Type INSTANCE
public int getMemory(LobStorageMap.BlobMeta blobMeta)
DataTypegetMemory in interface DataType<LobStorageMap.BlobMeta>getMemory in class BasicDataType<LobStorageMap.BlobMeta>blobMeta - the objectpublic void write(WriteBuffer buff, LobStorageMap.BlobMeta blobMeta)
DataTypewrite in interface DataType<LobStorageMap.BlobMeta>write in class BasicDataType<LobStorageMap.BlobMeta>buff - the target bufferblobMeta - the valuepublic LobStorageMap.BlobMeta read(java.nio.ByteBuffer buff)
DataTyperead in interface DataType<LobStorageMap.BlobMeta>read in class BasicDataType<LobStorageMap.BlobMeta>buff - the source bufferpublic LobStorageMap.BlobMeta[] createStorage(int size)
DataTypesize - number of values to hold