|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.util.CacheObject
org.h2.store.Record
org.h2.store.Page
org.h2.index.PageBtree
public abstract class PageBtree
A page that contains index data.
Field Summary | |
---|---|
protected Data |
data
The data page. |
protected int |
entryCount
The number of entries. |
protected PageBtreeIndex |
index
The index. |
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. |
Fields inherited from class org.h2.store.Page |
---|
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 |
Fields inherited from class org.h2.util.CacheObject |
---|
blockCount, cacheQueue, chained, next, previous |
Method Summary | |
---|---|
int |
getMemorySize()
Get the estimated memory size. |
protected void |
readAllRows()
Ensure all rows are read in memory. |
Methods inherited from class org.h2.store.Page |
---|
moveTo |
Methods inherited from class org.h2.store.Record |
---|
canRemove, commit, getByteCount, getSessionId, getStorageId, isDeleted, isEmpty, isLogWritten, prepareWrite, setDeleted, setLastLog, setLogWritten, setSessionId, setStorageId, write |
Methods inherited from class org.h2.util.CacheObject |
---|
getBlockCount, getPos, isChanged, isPinned, setBlockCount, setChanged, setPos, sort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected 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
Method Detail |
---|
protected void readAllRows() throws java.sql.SQLException
java.sql.SQLException
public int getMemorySize()
getMemorySize
in class CacheObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |