MCPcopy Index your code
hub / github.com/andylamp/BPlusTree / createTree

Method createTree

src/main/java/ds/bplus/bptree/BPlusTree.java:1760–1771  ·  view source on GitHub ↗

Function that initially creates the tree. Here we always create a Leaf that acts as our Root, until we split it. @return the initial (leaf) tree root. @throws IOException is thrown when an I/O operation fails @throws InvalidBTreeStateException is thrown when there are inconsistencies in the blocks.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

openFileMethod · 0.95

Calls 4

incrementTotalPagesMethod · 0.80
incrementTotalLeavesMethod · 0.80
writeNodeMethod · 0.45

Tested by

no test coverage detected