Interface CompactablePageIO
- All Known Implementing Classes:
AbstractDataPageIO,BinaryDataIO,BPlusInnerIO,BPlusIO,BPlusLeafIO,IndexRowInnerIO,IndexRowLeafIO,LongDataInnerIO,LongDataLeafIO,LongDataPageIO,ObjectDataInnerIO,ObjectDataLeafIO,ObjectDataPageIO,PagesListNodeIO,SimpleDataPageIO
public interface CompactablePageIO
Page IO that supports compaction.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompactPage(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 Details
-
compactPage
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
Restores the original page in place.- Parameters:
compactPage- Compact page.pageSize- Page size.
-