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:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class Page
Page.PageReference<K,V> -
Field Summary
FieldsFields inherited from class Page
map, PAGE_LEAF_MEMORY, PAGE_MEMORY_CHILD, PAGE_NODE_MEMORY, pageNo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <K,V> Page.PageReference<K, V>[] constructEmptyPageRefs(int size) voiddump(StringBuilder buff) Dump debug data for this page.booleanvoidCalled when done with copying page.(package private) voidwriteUnsavedRecursive(Chunk chunk, WriteBuffer buff, List<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 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, writeValuesMethods inherited from class 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
-
Field Details
-
complete
private boolean complete
-
-
Constructor Details
-
IncompleteNonLeaf
-
-
Method Details
-
constructEmptyPageRefs
-
writeUnsavedRecursive
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
Description copied from class:PageDump debug data for this page.- Overrides:
dumpin classPage.NonLeaf<K,V> - Parameters:
buff- append buffer
-