Package org.h2.mvstore
Class Page.IncompleteNonLeaf<K,V>
- java.lang.Object
-
- org.h2.mvstore.Page<K,V>
-
- org.h2.mvstore.Page.NonLeaf<K,V>
-
- org.h2.mvstore.Page.IncompleteNonLeaf<K,V>
-
- All Implemented Interfaces:
java.lang.Cloneable
private static class Page.IncompleteNonLeaf<K,V> extends Page.NonLeaf<K,V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.h2.mvstore.Page
Page.PageReference<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private booleancomplete-
Fields inherited from class org.h2.mvstore.Page
map, PAGE_LEAF_MEMORY, PAGE_MEMORY_CHILD, PAGE_NODE_MEMORY, pageNo
-
-
Constructor Summary
Constructors Constructor Description IncompleteNonLeaf(MVMap<K,V> map, Page.NonLeaf<K,V> source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static <K,V>
Page.PageReference<K,V>[]constructEmptyPageRefs(int size)voiddump(java.lang.StringBuilder buff)Dump debug data for this page.booleanisComplete()voidsetComplete()Called when done with copying page.(package private) voidwriteUnsavedRecursive(Chunk chunk, WriteBuffer buff, java.util.List<java.lang.Long> toc)Store this page and all children that are changed, in reverse order, and update the position and the children.-
Methods inherited from class org.h2.mvstore.Page.NonLeaf
calculateMemory, copy, expand, getAppendCursorPos, getChildPage, getChildPagePos, getCounts, getNodeType, getPrependCursorPos, getRawChildPageCount, getTotalCount, getValue, insertLeaf, insertNode, readPayLoad, recalculateTotalCount, releaseSavedPages, remove, removeAllRecursive, setChild, setValue, split, writeChildren, writeChildrenRecursive, writeValues
-
Methods inherited from class org.h2.mvstore.Page
addMemory, binarySearch, clone, copy, createEmptyLeaf, createEmptyNode, createKeyStorage, createLeaf, createNode, createRefStorage, createValueStorage, expandKeys, get, getDiskSpaceUsed, getKey, getKeyCount, getMapId, getMemory, getPos, insertKey, isLeaf, isPersistent, isRemoved, isSaved, read, recalculateMemory, removePage, setKey, splitKeys, toString, write
-
-
-
-
Method Detail
-
constructEmptyPageRefs
private static <K,V> Page.PageReference<K,V>[] constructEmptyPageRefs(int size)
-
writeUnsavedRecursive
void writeUnsavedRecursive(Chunk chunk, WriteBuffer buff, java.util.List<java.lang.Long> toc)
Description copied from class:PageStore this page and all children that are changed, in reverse order, and update the position and the children.- Overrides:
writeUnsavedRecursivein classPage.NonLeaf<K,V>- Parameters:
chunk- the chunkbuff- the target buffertoc- prospective table of content
-
isComplete
public boolean isComplete()
- Overrides:
isCompletein classPage<K,V>
-
setComplete
public void setComplete()
Description copied from class:PageCalled when done with copying page.- Overrides:
setCompletein classPage<K,V>
-
dump
public void dump(java.lang.StringBuilder buff)
Description copied from class:PageDump debug data for this page.- Overrides:
dumpin classPage.NonLeaf<K,V>- Parameters:
buff- append buffer
-
-