final class DataPage extends PageHeader
| Modifier and Type | Field and Description |
|---|---|
(package private) static short |
DATA_PER_PAGE
total amount of data in this page/block: BLOCK_SIZE - 20 bytes
|
(package private) static short |
O_DATA
start of the data in this block: 20 byte offset
|
private static short |
O_FIRST
first short in the file after the page header info: 18 byte offset
|
blockIo, SIZE| Constructor and Description |
|---|
DataPage(BlockIo block)
Constructs a data page view from the indicated block.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static DataPage |
getDataPageView(BlockIo blockIo)
Factory method to create or return a data page for the indicated block.
|
(package private) short |
getFirst() |
(package private) void |
setFirst(short value)
Sets the first rowid's offset
|
java.lang.String |
toString() |
getMagic, getNext, getPrev, getView, paranoiaMagicOk, setNext, setPrev, setTypeprivate static final short O_FIRST
static final short O_DATA
static final short DATA_PER_PAGE
DataPage(BlockIo block)
static DataPage getDataPageView(BlockIo blockIo)
short getFirst()
void setFirst(short value)
public java.lang.String toString()
toString in class PageHeader