jdbm.recman
Class DataPage

java.lang.Object
  extended by jdbm.recman.PageHeader
      extended by jdbm.recman.DataPage
All Implemented Interfaces:
BlockView

final class DataPage
extends PageHeader

Class describing a page that holds data.


Field Summary
(package private) static short DATA_PER_PAGE
           
(package private) static short O_DATA
           
 
Fields inherited from class jdbm.recman.PageHeader
block, SIZE
 
Constructor Summary
DataPage(BlockIo block)
          Constructs a data page view from the indicated block.
 
Method Summary
(package private) static DataPage getDataPageView(BlockIo block)
          Factory method to create or return a data page for the indicated block.
(package private)  short getFirst()
          Returns the first rowid's offset
(package private)  void setFirst(short value)
          Sets the first rowid's offset
 
Methods inherited from class jdbm.recman.PageHeader
getMagic, getNext, getPrev, getView, paranoiaMagicOk, setNext, setPrev, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

O_DATA

static final short O_DATA
See Also:
Constant Field Values

DATA_PER_PAGE

static final short DATA_PER_PAGE
See Also:
Constant Field Values
Constructor Detail

DataPage

DataPage(BlockIo block)
Constructs a data page view from the indicated block.

Method Detail

getDataPageView

static DataPage getDataPageView(BlockIo block)
Factory method to create or return a data page for the indicated block.


getFirst

short getFirst()
Returns the first rowid's offset


setFirst

void setFirst(short value)
Sets the first rowid's offset



Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net