|
||||||||||
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.index.BtreePage
public abstract class BtreePage
An abstract b-tree page.
Field Summary | |
---|---|
protected static int |
BLOCKS_PER_PAGE
The maximum number of blocks occupied by a b-tree page. |
protected BtreeIndex |
index
The b-tree index object |
protected ObjectArray<SearchRow> |
pageData
The list of data pages. |
protected boolean |
root
If this is the root page of the index. |
Fields inherited from class org.h2.util.CacheObject |
---|
blockCount, cacheQueue, chained, next, previous |
Method Summary | |
---|---|
int |
getByteCount(DataPage dummy)
Get the number of bytes required for the data if the given data page would be used. |
boolean |
isEmpty()
Check if this record is empty. |
boolean |
isPinned()
Check if this cache object can be removed from the cache. |
Methods inherited from class org.h2.store.Record |
---|
canRemove, commit, getSessionId, getStorageId, isDeleted, isLogWritten, prepareWrite, setDeleted, setLastLog, setLogWritten, setSessionId, setStorageId, write |
Methods inherited from class org.h2.util.CacheObject |
---|
getBlockCount, getMemorySize, getPos, isChanged, 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 static final int BLOCKS_PER_PAGE
protected BtreeIndex index
protected ObjectArray<SearchRow> pageData
protected boolean root
Method Detail |
---|
public int getByteCount(DataPage dummy)
Record
getByteCount
in class Record
dummy
- the template data page
public boolean isEmpty()
Record
isEmpty
in class Record
public boolean isPinned()
CacheObject
isPinned
in class CacheObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |