public abstract class PageBtree extends Page
| Modifier and Type | Field and Description |
|---|---|
protected Data |
data
The data page.
|
protected int |
entryCount
The number of entries.
|
protected PageBtreeIndex |
index
The index.
|
protected int |
memoryEstimated
The estimated memory used by this object.
|
protected int[] |
offsets
The row offsets.
|
protected boolean |
onlyPosition
If only the position of the row is stored in the page
|
protected int |
parentPageId
The page number of the parent.
|
protected SearchRow[] |
rows
The index data
|
protected int |
start
The start of the data area.
|
protected boolean |
written
Whether the data page is up-to-date.
|
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_TRUNKcacheChained, cacheNext, cachePrevious| Modifier and Type | Method and Description |
|---|---|
boolean |
canRemove()
Check if the object can be removed from the cache.
|
int |
getMemory()
Get the estimated memory size.
|
protected void |
memoryChange()
The memory usage of this page was changed.
|
protected void |
readAllRows()
Ensure all rows are read in memory.
|
add, canMove, insert, insert, insert, moveTo, remove, remove, remove, writecompareTo, getPos, isChanged, isStream, setChanged, setPosprotected final PageBtreeIndex index
protected int parentPageId
protected final Data data
protected int[] offsets
protected int entryCount
protected SearchRow[] rows
protected int start
protected boolean onlyPosition
protected boolean written
protected int memoryEstimated
protected void memoryChange()
protected void readAllRows()
public int getMemory()
getMemory in class CacheObjectpublic boolean canRemove()
CacheObjectcanRemove in class CacheObjectCopyright © 2012 JBoss by Red Hat. All Rights Reserved.