public class PageBtreeLeaf extends PageBtree
data, entryCount, index, memoryEstimated, offsets, onlyPosition, parentPageId, rows, start, written
changeCount, FLAG_LAST, TYPE_BTREE_LEAF, TYPE_BTREE_NODE, TYPE_DATA_LEAF, TYPE_DATA_NODE, TYPE_DATA_OVERFLOW, TYPE_EMPTY, TYPE_FREE_LIST, TYPE_STREAM_DATA, TYPE_STREAM_TRUNK
cacheChained, cacheNext, cachePrevious
Modifier and Type | Method and Description |
---|---|
protected void |
memoryChange()
The memory usage of this page was changed.
|
void |
moveTo(Session session,
int newPos)
Copy the data to a new location, change the parent to point to the new
location, and free up the current page.
|
static Page |
read(PageBtreeIndex index,
Data data,
int pageId)
Read a b-tree leaf page.
|
String |
toString() |
void |
write()
Write the page.
|
canRemove, getMemory, readAllRows
add, canMove, insert, insert, insert, remove, remove, remove
compareTo, getPos, isChanged, isStream, setChanged, setPos
public static Page read(PageBtreeIndex index, Data data, int pageId)
index
- the indexdata
- the datapageId
- the page idpublic void write()
Page
public void moveTo(Session session, int newPos)
Page
protected void memoryChange()
PageBtree
memoryChange
in class PageBtree
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.