jdbm.recman
Class TranslationPage
java.lang.Object
jdbm.recman.PageHeader
jdbm.recman.TranslationPage
- All Implemented Interfaces:
- BlockView
- final class TranslationPage
- extends PageHeader
Class describing a page that holds translations from physical rowids
to logical rowids. In fact, the page just holds physical rowids - the
page's block is the block for the logical rowid, the offset serve
as offset for the rowids.
Constructor Summary |
(package private) |
TranslationPage(BlockIo block)
Constructs a data page view from the indicated block. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
O_TRANS
static final short O_TRANS
- See Also:
- Constant Field Values
ELEMS_PER_PAGE
static final short ELEMS_PER_PAGE
- See Also:
- Constant Field Values
slots
final PhysicalRowId[] slots
TranslationPage
TranslationPage(BlockIo block)
- Constructs a data page view from the indicated block.
getTranslationPageView
static TranslationPage getTranslationPageView(BlockIo block)
- Factory method to create or return a data page for the
indicated block.
get
PhysicalRowId get(short offset)
- Returns the value of the indicated rowid on the page
Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net