public class PageBtreeNode extends PageBtree
data, entryCount, index, memoryEstimated, offsets, onlyPosition, parentPageId, rows, start, writtenchangeCount, 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_TRUNKcacheChained, cacheNext, cachePrevious| Modifier and Type | Method and Description |
|---|---|
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 node page.
|
protected void |
remapChildren()
Update the parent id of all children.
|
String |
toString() |
void |
write()
Write the page.
|
canRemove, getMemory, memoryChange, readAllRowsadd, canMove, insert, insert, insert, remove, remove, removecompareTo, getPos, isChanged, isStream, setChanged, setPospublic static Page read(PageBtreeIndex index, Data data, int pageId)
index - the indexdata - the datapageId - the page idprotected void remapChildren()
PageBtreepublic void write()
PageCopyright © 2012 JBoss by Red Hat. All Rights Reserved.