Interface CompactablePageIO
-
- All Known Implementing Classes:
AbstractDataInnerIO,AbstractDataLeafIO,AbstractDataPageIO,AbstractInlineInnerIO,AbstractInlineLeafIO,AbstractInnerIO,AbstractLeafIO,AbstractPendingEntryInnerIO,AbstractPendingEntryLeafIO,BPlusInnerIO,BPlusIO,BPlusLeafIO,CacheIdAwareDataInnerIO,CacheIdAwareDataLeafIO,CacheIdAwarePendingEntryInnerIO,CacheIdAwarePendingEntryLeafIO,DataInnerIO,DataLeafIO,DataPageIO,IndexStorageImpl.MetaStoreInnerIO,IndexStorageImpl.MetaStoreLeafIO,InlineInnerIO,InlineLeafIO,InnerIO,LeafIO,MetastorageInnerIO,MetastorageLeafIO,MetastoreDataPageIO,PagesListNodeIO,PendingEntryInnerIO,PendingEntryLeafIO,SimpleDataPageIO
public interface CompactablePageIOPage IO that supports compaction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompactPage(ByteBuffer page, ByteBuffer out, int pageSize)Compacts page contents to the output buffer.voidrestorePage(ByteBuffer compactPage, int pageSize)Restores the original page in place.
-
-
-
Method Detail
-
compactPage
void compactPage(ByteBuffer page, ByteBuffer out, int pageSize)
Compacts page contents to the output buffer. Implementation must not change contents, position and limit of the original page buffer.- Parameters:
page- Page buffer.out- Output buffer.pageSize- Page size.
-
restorePage
void restorePage(ByteBuffer compactPage, int pageSize)
Restores the original page in place.- Parameters:
compactPage- Compact page.pageSize- Page size.
-
-