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:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.h2.mvstore.Page
Page.PageReference<K,
V> -
Field Summary
FieldsFields inherited from class org.h2.mvstore.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) void
dump
(StringBuilder buff) Dump debug data for this page.boolean
void
Called when done with copying page.(package private) void
writeUnsavedRecursive
(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 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
-
Field Details
-
complete
private boolean complete
-
-
Constructor Details
-
IncompleteNonLeaf
-
-
Method Details
-
constructEmptyPageRefs
-
writeUnsavedRecursive
Description copied from class:Page
Store this page and all children that are changed, in reverse order, and update the position and the children.- Overrides:
writeUnsavedRecursive
in classPage.NonLeaf<K,
V> - Parameters:
chunk
- the chunkbuff
- the target buffertoc
- prospective table of content
-
isComplete
public boolean isComplete()- Overrides:
isComplete
in classPage<K,
V>
-
setComplete
public void setComplete()Description copied from class:Page
Called when done with copying page.- Overrides:
setComplete
in classPage<K,
V>
-
dump
Description copied from class:Page
Dump debug data for this page.- Overrides:
dump
in classPage.NonLeaf<K,
V> - Parameters:
buff
- append buffer
-