public class PageDataOverflow extends Page
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.
|
boolean |
isStream() |
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(PageStore store,
Data data,
int pageId)
Read an overflow page.
|
java.lang.String |
toString() |
void |
write()
Write the page.
|
add, canMove, insert, insert, insert, remove, remove, removecompareTo, getPos, isChanged, setChanged, setPospublic static Page read(PageStore store, Data data, int pageId)
store - the page storedata - the datapageId - the page idpublic void write()
Pagepublic java.lang.String toString()
toString in class java.lang.Objectpublic int getMemory()
getMemory in class CacheObjectpublic void moveTo(Session session, int newPos)
Pagepublic boolean canRemove()
CacheObjectcanRemove in class CacheObjectpublic boolean isStream()
isStream in class CacheObject