| |
|
| java.lang.Object jdbm.recman.PageHeader jdbm.recman.FreeLogicalRowIdPage
FreeLogicalRowIdPage | class FreeLogicalRowIdPage extends PageHeader (Code) | | Class describing a page that holds logical rowids that were freed. Note
that the methods have *physical* rowids in their signatures - this is
because logical and physical rowids are internally the same, only their
external representation (i.e. in the client API) differs.
|
ELEMS_PER_PAGE | final static short ELEMS_PER_PAGE(Code) | | |
O_FREE | final static short O_FREE(Code) | | |
FreeLogicalRowIdPage | FreeLogicalRowIdPage(BlockIo block)(Code) | | Constructs a data page view from the indicated block.
|
free | void free(int slot)(Code) | | Frees a slot
|
getCount | short getCount()(Code) | | Returns the number of free rowids
|
getFirstAllocated | int getFirstAllocated()(Code) | | Returns first allocated slot, -1 if no slots are available.
|
getFirstFree | int getFirstFree()(Code) | | Returns first free slot, -1 if no slots are available
|
getFreeLogicalRowIdPageView | static FreeLogicalRowIdPage getFreeLogicalRowIdPageView(BlockIo block)(Code) | | Factory method to create or return a data page for the
indicated block.
|
isAllocated | boolean isAllocated(int slot)(Code) | | Returns true if a slot is allocated
|
isFree | boolean isFree(int slot)(Code) | | Returns true if a slot is free
|
|
|
|