MCPcopy Create free account

hub / github.com/andylamp/BPlusTree / functions

Functions271 in github.com/andylamp/BPlusTree

↓ 3 callersMethodsetNextPagePointer
(long next)
src/main/java/ds/bplus/bptree/TreeLeaf.java:86
↓ 3 callersMethodsetPrevPagePointer
(long prevPagePointer)
src/main/java/ds/bplus/bptree/TreeLeaf.java:92
↓ 2 callersMethodaddLastToOverflowList
(long value)
src/main/java/ds/bplus/bptree/TreeLeaf.java:44
↓ 2 callersMethodaddLastToValueList
(String value)
src/main/java/ds/bplus/bptree/TreeLeaf.java:47
↓ 2 callersMethodaddToOverflowList
(int index, long value)
src/main/java/ds/bplus/bptree/TreeLeaf.java:41
↓ 2 callersMethodcommitLookupPage
Function that commits the allocation pool to the file; this can be done after each deletion or more unsafely before committing the file changes at the
src/main/java/ds/bplus/bptree/BPlusTree.java:1830
↓ 2 callersMethodcreateOverflowPage
This function is responsible handling the creation of overflow pages. We have generally two distinct cases which are the following: Create an overfl
src/main/java/ds/bplus/bptree/BPlusTree.java:308
↓ 2 callersMethodfixTheTopPointer
(TreeNode other, TreeInternalNode parent, int parentPointerIndex, int parent
src/main/java/ds/bplus/bptree/BPlusTree.java:1180
↓ 2 callersMethodgetIndex
()
src/main/java/ds/bplus/bptree/SearchResult.java:72
↓ 2 callersMethodgetLeafNodeDegree
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:177
↓ 2 callersMethodgetOverflowPageDegree
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:151
↓ 2 callersMethodgetTreeDegree
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:148
↓ 2 callersMethodgetValueAt
(int index)
src/main/java/ds/bplus/bptree/TreeOverflow.java:47
↓ 2 callersMethodincrementRootSplits
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:166
↓ 2 callersMethodincrementTotalLeaves
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:96
↓ 2 callersMethodinitializeLookupPage
This function initializes the look-up page; in the simple case that it does not already exist it just creates an empty page by witting -1L all over it
src/main/java/ds/bplus/bptree/BPlusTree.java:2228
↓ 2 callersMethodinsertIO
(long key, String value, boolean unique, boolean verbose)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:369
↓ 2 callersMethodinsertNonFull
This function is inspired from the one given in CLRS for inserting a key to a B-Tree but as splitTreeNode has been (heavily) modified in order to be u
src/main/java/ds/bplus/bptree/BPlusTree.java:417
↓ 2 callersMethodisLookupPageOverflowNode
Check if the node in question is a lookup page overflow node @return true if the node is a lookup page overflow node, false otherwise
src/main/java/ds/bplus/bptree/TreeNode.java:259
↓ 2 callersMethodisParent
Check if the node has the specified parent @param node node can be internal or leaf @param parent parent is always internal node @param pindex index
src/main/java/ds/bplus/bptree/BPlusTree.java:906
↓ 2 callersMethodisValidAfterRemoval
Check if the internal node fulfills the B+ Tree invariant after removing <code>remove</code> number of elements @param node node to check @param remo
src/main/java/ds/bplus/bptree/BPlusTree.java:940
↓ 2 callersMethodjoinInternalNodes
@param left left node @param right right node @param cap max capacity of the node @throws InvalidBTreeStateException is thrown when there are incon
src/main/java/ds/bplus/bptree/BPlusTree.java:1339
↓ 2 callersMethodjoinLeaves
@param left left leaf @param right right leaf @param cap max capacity of the leaf @throws InvalidBTreeStateException is thrown when there are incon
src/main/java/ds/bplus/bptree/BPlusTree.java:1209
↓ 2 callersMethodparseOverflowPages
Function to parse the overflow pages specifically for the range queries @param l leaf which contains the key with the overflow page @param index inde
src/main/java/ds/bplus/bptree/BPlusTree.java:545
↓ 2 callersMethodpopOverflowPointer
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:56
↓ 2 callersMethodpopValue
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:77
↓ 2 callersMethodpushToOverflowList
(long overflowPointer)
src/main/java/ds/bplus/bptree/TreeLeaf.java:53
↓ 2 callersMethodpushToValueList
(String value)
src/main/java/ds/bplus/bptree/TreeLeaf.java:74
↓ 2 callersMethodrangeIO
(long minKey, long maxKey, boolean unique, boolean verbose)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:332
↓ 2 callersMethodremoveLastOverflowPointer
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:62
↓ 2 callersMethodremoveLastValue
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:80
↓ 2 callersMethodremoveLastValue
()
src/main/java/ds/bplus/bptree/TreeOverflow.java:41
↓ 2 callersMethodrunDefaultTrials
Run default trial set @param trials number of trials to run @param vmin min key value @param vmax max key value @param qrange range of range queries
src/main/java/ds/bplus/util/TestRunner.java:246
↓ 2 callersMethodsetLeaf
(TreeLeaf leaf)
src/main/java/ds/bplus/bptree/SearchResult.java:60
↓ 2 callersMethodsetNextPagePointer
(long next)
src/main/java/ds/bplus/bptree/TreeOverflow.java:53
↓ 2 callersMethodsetOverflowPointerAt
(int index, long value)
src/main/java/ds/bplus/bptree/TreeLeaf.java:59
↓ 2 callersMethodsplitTreeNode
This function is based on the similar function prototype that is given by CLRS for B-Tree but is altered (quite a bit) to be able to be used for B+ Tr
src/main/java/ds/bplus/bptree/BPlusTree.java:179
↓ 2 callersMethodupdatePageIndexCounts
Commit the page count and the max offset in the file @param conf B+ configuration reference @throws IOException is thrown when an I/O operation fails
src/main/java/ds/bplus/bptree/BPlusTree.java:2297
↓ 2 callersMethodvalidateNodeCapacityLimits
Function that validates the node capacity invariants based on the current configuration instance. @param conf configuration instance for validating t
src/main/java/ds/bplus/bptree/TreeNode.java:125
↓ 1 callersMethodbinSearchRec
Binary search implementation for tree blocks. @param n node to search @param l left (lower-part) array index @param r right (upper-part) arr
src/main/java/ds/bplus/bptree/BPlusTree.java:376
↓ 1 callersMethodcheckDegreeValidity
Little function that checks if we have any degree < 2 (which is not allowed)
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:131
↓ 1 callersMethodconditionFileLength
This function adjust the file length by purging the high index pages that are used. Low index pages are purged last by design. @throws IOException is
src/main/java/ds/bplus/bptree/BPlusTree.java:1936
↓ 1 callersMethodconditionString
Condition the given string to match the entry size. -- in case of length being greater than entry size, it is trimmed -- in case of length being le
src/main/java/ds/bplus/bptree/BPlusTree.java:2431
↓ 1 callersMethodcreateOverflowLookupPage
(long index, long nextPointer)
src/main/java/ds/bplus/bptree/BPlusTree.java:1953
↓ 1 callersMethodcreateTree
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.
src/main/java/ds/bplus/bptree/BPlusTree.java:1760
↓ 1 callersMethoddeleteKey
Function to delete a key from our tree... this function is again adopted from CLRS delete method but this was basically written from scratch and is lo
src/main/java/ds/bplus/bptree/BPlusTree.java:748
↓ 1 callersMethodgetConditionThreshold
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:189
↓ 1 callersMethodgetKeySize
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:174
↓ 1 callersMethodgetLookupPageSize
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:183
↓ 1 callersMethodgetNextPointer
Get the next pointer of the node @return the next pointer value
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:68
↓ 1 callersMethodgetPageCountOffset
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:198
↓ 1 callersMethodgetPageType
Map the short value to an actual node type enumeration value. This paradoxically is the opposite of that we do in the similarly named function in each
src/main/java/ds/bplus/bptree/BPlusTree.java:1782
↓ 1 callersMethodgetPrevPagePointer
()
src/main/java/ds/bplus/bptree/TreeOverflow.java:56
↓ 1 callersMethodgetValues
()
src/main/java/ds/bplus/bptree/DeleteResult.java:50
↓ 1 callersMethodgetValues
()
src/main/java/ds/bplus/bptree/SearchResult.java:63
↓ 1 callersMethodhandleChoices
Handle the selected user option @param choice the user choice @param sin the input class @param bPerf performance class ties to a B+ Tree instance @t
src/main/java/ds/bplus/util/TestRunner.java:81
↓ 1 callersMethodhandleInternalNodeRedistributionOrMerging
Handle the internal node redistribution/merging @param mnode node to process @param parent the parent node @param parentPointerIndex parent pointer i
src/main/java/ds/bplus/bptree/BPlusTree.java:1668
↓ 1 callersMethodhandleLeafNodeRedistributionOrMerging
Handle the leaf section of the redistribution/merging @param mnode node to process @param parent the parent node @param parentPointerIndex parent poi
src/main/java/ds/bplus/bptree/BPlusTree.java:1542
↓ 1 callersMethodhandleRootRedistributionOrMerging
Handle the root node cases (leaf and internal node) @param mnode root node @return the root node @throws IOException is thrown when an I/O operation
src/main/java/ds/bplus/bptree/BPlusTree.java:1405
↓ 1 callersMethodincrementIntermittentInternalNodeReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:413
↓ 1 callersMethodincrementIntermittentInternalNodeWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:434
↓ 1 callersMethodincrementIntermittentLeafNodeReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:420
↓ 1 callersMethodincrementIntermittentLeafNodeWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:441
↓ 1 callersMethodincrementIntermittentOverflowPageReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:427
↓ 1 callersMethodincrementIntermittentOverflowPageWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:448
↓ 1 callersMethodincrementInternalNodeSplits
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:173
↓ 1 callersMethodincrementTotalInsertions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:115
↓ 1 callersMethodincrementTotalInternalNodeReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:456
↓ 1 callersMethodincrementTotalInternalNodeWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:480
↓ 1 callersMethodincrementTotalInternalNodes
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:89
↓ 1 callersMethodincrementTotalLeafNodeReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:464
↓ 1 callersMethodincrementTotalLeafNodeWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:488
↓ 1 callersMethodincrementTotalLeafSplits
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:180
↓ 1 callersMethodincrementTotalOverflowNodeWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:496
↓ 1 callersMethodincrementTotalOverflowPages
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:82
↓ 1 callersMethodincrementTotalOverflowReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:472
↓ 1 callersMethodincrementTotalRangeQueries
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:154
↓ 1 callersMethodincrementTotalSearches
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:148
↓ 1 callersMethodisOverflowPage
Check if the node is an overflow page @param nt nodeType of the node we want to check @return return true if it's an overflow page, false if it's not
src/main/java/ds/bplus/bptree/BPlusTree.java:2065
↓ 1 callersMethodisTimeForConditioning
Check if we have to condition the file @return if it's time for conditioning
src/main/java/ds/bplus/bptree/BPlusTree.java:2396
↓ 1 callersMethodloadListFromFile
Load linked list object from file (used for testing certain key-sequences) @param filename file to load the object from @return the object itself. @t
src/main/java/ds/bplus/util/Utilities.java:144
↓ 1 callersMethodmenuChoice
Display menu choices and grab the user selection @param sin input class @return a valid user option selection
src/main/java/ds/bplus/util/TestRunner.java:37
↓ 1 callersMethodmergeOrRedistributeTreeNodes
This function handles the merging or redistribution of the nodes depending on their capacity; usually we just redistribute, if not we merge. @param m
src/main/java/ds/bplus/bptree/BPlusTree.java:1362
↓ 1 callersMethodprintConfiguration
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:206
↓ 1 callersMethodprintCurrentConfiguration
Prints the current configuration to stdout.
src/main/java/ds/bplus/bptree/BPlusTree.java:2324
↓ 1 callersMethodprintNode
Each class must implement it's own printing method.
src/main/java/ds/bplus/bptree/TreeNode.java:450
↓ 1 callersMethodpushToPointerArray
(long val)
src/main/java/ds/bplus/bptree/TreeInternalNode.java:53
↓ 1 callersMethodrangeSearch
Handle range search queries with a bit of twist on how we handle duplicate keys. We have two basic cases depending duplicate keys, which is basicall
src/main/java/ds/bplus/bptree/BPlusTree.java:574
↓ 1 callersMethodreadFileHeader
Reads an existing file and generates a B+ configuration based on the stored values @param r file to read from @param generateConf generate configurat
src/main/java/ds/bplus/bptree/BPlusTree.java:2089
↓ 1 callersMethodremoveEntryAt
(int index, BPlusConfiguration conf)
src/main/java/ds/bplus/bptree/TreeLeaf.java:96
↓ 1 callersMethodremoveLastPointer
()
src/main/java/ds/bplus/bptree/TreeInternalNode.java:38
↓ 1 callersMethodresetAllMetrics
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:549
↓ 1 callersMethodrunBench
Run the test interface @param bPerf performance class tied to a B+ Tree instance @throws IOException is thrown when an I/O operation fails
src/main/java/ds/bplus/util/TestRunner.java:21
↓ 1 callersMethodrunDefaultTrialsFast
Silently just run the default trials using the default values @param bPerf performance class tied to a B+ Tree instance @throws IOException is thrown
src/main/java/ds/bplus/util/TestRunner.java:58
↓ 1 callersMethodrunDeletion
Run deletion @param sin input class @param bPerf performance class tied to a B+ Tree instance @throws IOException is thrown when an I/O operation fai
src/main/java/ds/bplus/util/TestRunner.java:171
↓ 1 callersMethodrunDeletionTrials
Run a deletion trial @param trials number of trials to run @param rmin the min key value @param rmax the max key value @param unique delete the first
src/main/java/ds/bplus/util/TrialsClass.java:137
↓ 1 callersMethodrunInsertTrial
Run a insertion trial @param trials the number of trials to run @param rmin the min key value @param rmax the max key value @param value value to tie
src/main/java/ds/bplus/util/TrialsClass.java:64
↓ 1 callersMethodrunInsertion
Run insertion @param sin input class @param bPerf performance class tied to a B+ Tree instance @throws IOException is thrown when an I/O operation fa
src/main/java/ds/bplus/util/TestRunner.java:149
↓ 1 callersMethodrunRangeQuery
Run a range query instance @param sin input class @param bPerf performance class tied to a B+ Tree instance @throws IOException is thrown when an I/O
src/main/java/ds/bplus/util/TestRunner.java:213
↓ 1 callersMethodrunRangeQueryTrial
Run a range query trial @param trials the number of trials to run @param rmin the min key value @param rmax the max key value @param range value to t
src/main/java/ds/bplus/util/TrialsClass.java:102
← previousnext →101–200 of 271, ranked by callers