Class OHashIndexFileLevelMetadataPage
java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
com.orientechnologies.orient.core.storage.index.hashindex.local.v3.OHashIndexFileLevelMetadataPage
- Since:
- 5/8/14
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET -
Method Summary
Modifier and TypeMethodDescriptionlonggetBucketsCount(int index) longgetFileId(int index) bytelonggetTombstoneIndex(int index) bytevoidremove(int index) voidsetBucketsCount(int index, long bucketsCount) voidsetFileMetadata(int index, long fileId, long bucketsCount, long tombstoneIndex) voidsetTombstoneIndex(int index, long tombstoneIndex) Methods inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
deserializeFromDirectMemory, getBinaryValue, getByteValue, getCacheEntry, getChanges, getIntArray, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLSN, getObjectSizeInDirectMemory, getPageData, getPageIndex, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntArray, setIntValue, setLongValue, setLsn, setShortValue, toString
-
Method Details
-
getKeySerializerId
- Throws:
IOException
-
getValueSerializerId
- Throws:
IOException
-
setFileMetadata
public void setFileMetadata(int index, long fileId, long bucketsCount, long tombstoneIndex) -
setBucketsCount
public void setBucketsCount(int index, long bucketsCount) -
getBucketsCount
public long getBucketsCount(int index) -
setTombstoneIndex
public void setTombstoneIndex(int index, long tombstoneIndex) -
getTombstoneIndex
public long getTombstoneIndex(int index) -
getFileId
public long getFileId(int index) -
remove
public void remove(int index)
-