
public class OHashIndexFileLevelMetadataPage extends ODurablePage
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET| Constructor and Description |
|---|
OHashIndexFileLevelMetadataPage(OCacheEntry cacheEntry,
boolean isNewPage) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBucketsCount(int index) |
long |
getFileId(int index) |
byte |
getKeySerializerId() |
long |
getRecordsCount() |
long |
getTombstoneIndex(int index) |
byte |
getValueSerializerId() |
boolean |
isRemoved(int index) |
void |
remove(int index) |
void |
setBucketsCount(int index,
long bucketsCount) |
void |
setFileMetadata(int index,
long fileId,
long bucketsCount,
long tombstoneIndex) |
void |
setKeySerializerId(byte keySerializerId) |
void |
setRecordsCount(long recordsCount) |
void |
setTombstoneIndex(int index,
long tombstoneIndex) |
void |
setValueSerializerId(byte valueSerializerId) |
deserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setShortValue, toStringpublic OHashIndexFileLevelMetadataPage(OCacheEntry cacheEntry, boolean isNewPage) throws IOException
IOExceptionpublic void setRecordsCount(long recordsCount)
throws IOException
IOExceptionpublic long getRecordsCount()
throws IOException
IOExceptionpublic void setKeySerializerId(byte keySerializerId)
throws IOException
IOExceptionpublic byte getKeySerializerId()
throws IOException
IOExceptionpublic void setValueSerializerId(byte valueSerializerId)
throws IOException
IOExceptionpublic byte getValueSerializerId()
throws IOException
IOExceptionpublic void setFileMetadata(int index,
long fileId,
long bucketsCount,
long tombstoneIndex)
throws IOException
IOExceptionpublic void setBucketsCount(int index,
long bucketsCount)
throws IOException
IOExceptionpublic long getBucketsCount(int index)
throws IOException
IOExceptionpublic void setTombstoneIndex(int index,
long tombstoneIndex)
throws IOException
IOExceptionpublic long getTombstoneIndex(int index)
public long getFileId(int index)
public boolean isRemoved(int index)
public void remove(int index)
Copyright © 2009–2025 OrientDB. All rights reserved.