Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andylamp/BPlusTree
/ functions
Functions
271 in github.com/andylamp/BPlusTree
⨍
Functions
271
◇
Types & classes
22
↓ 1 callers
Method
runSearch
Run a search instance @param sin input class @param bPerf performance class tied to a B+ Tree instance @throws IOException is thrown when an I/O oper
src/main/java/ds/bplus/util/TestRunner.java:193
↓ 1 callers
Method
runSearchTrial
Run a search trial @param trials the number of trials to run @param rmin the min key value @param rmax the max key value @param unique want unique re
src/main/java/ds/bplus/util/TrialsClass.java:27
↓ 1 callers
Method
setBTree
(BPlusTree bt)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:72
↓ 1 callers
Method
totalOperationCount
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:504
↓ 1 callers
Method
validateNeighbours
Extra validation on leaf pointers @param prev previous leaf @param split current leaf (split node) @param next next leaf @throws InvalidBTreeStateExc
src/main/java/ds/bplus/bptree/BPlusTree.java:1638
↓ 1 callers
Method
writeNode
Write a lookup page overflow to the page index; the node should have the following structure: <p> -- node type -- (2 bytes) -- next pointer -- (8 byte
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:37
Method
BPlusConfiguration
Default constructor which initializes all settings to the predefined defaults.
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:33
Method
BPlusTree
Super basic constructor, create everything using their default values... @throws IOException is thrown when we fail to open/create the binary tree fi
src/main/java/ds/bplus/bptree/BPlusTree.java:34
Method
BPlusTreePerformanceCounter
(boolean trackIO)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:63
Method
DeleteResult
Default constructor for single deletes @param key key that values are tied @param value values deleted
src/main/java/ds/bplus/bptree/DeleteResult.java:23
Method
InvalidBTreeStateException
(String m)
src/main/java/ds/bplus/util/InvalidBTreeStateException.java:9
Method
KeyValueWrapper
This is the only constructor... as we only need to set them @param key the key of (K, V) pair @param value the value of the (K, V) pair
src/main/java/ds/bplus/bptree/KeyValueWrapper.java:19
Method
RangeResult
Constructor that instantiates basically our linked list
src/main/java/ds/bplus/bptree/RangeResult.java:21
Method
SearchResult
Constructor for unique queries, hence feed it all the above information @param leaf the leaf which our (K, V) might reside @param index index where f
src/main/java/ds/bplus/bptree/SearchResult.java:29
Method
StandardInputRead
Class constructor
src/main/java/ds/bplus/util/StandardInputRead.java:31
Method
TreeInternalNode
Create an internal node @param nodeType the node type parameter @param pageIndex the index of the page
src/main/java/ds/bplus/bptree/TreeInternalNode.java:24
Method
TreeLeaf
Constructor for our Internal node @param nextPagePointer the next leaf pointer @param prevPagePointer the previous leaf pointer @param nodeType the n
src/main/java/ds/bplus/bptree/TreeLeaf.java:29
Method
TreeLookupOverflowNode
Constructor which takes into the node type as well as the page index @param pageIndex the page index in the file
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:17
Method
TreeNode
Constructor which takes into the node type as well as the page index @param nodeType the actual node type @param pageIndex the page index in the file
src/main/java/ds/bplus/bptree/TreeNode.java:31
Method
TreeOverflow
Constructor which takes into the node type as well as the page index @param nextPagePointer the next overflow pointer @param prevPagePointer the prev
src/main/java/ds/bplus/bptree/TreeOverflow.java:30
Method
addToTreeFromList
Add values to a B+ Tree from a file @param filename file to load @param unique unique values? @param bt tree to add the values @return the list of th
src/main/java/ds/bplus/util/Utilities.java:107
Method
addToValueList
(int index, String value)
src/main/java/ds/bplus/bptree/TreeOverflow.java:44
Method
after
()
src/test/java/BPlusTreeTest.java:47
Method
before
()
src/test/java/BPlusTreeTest.java:38
Method
getBeingDeleted
Being deleted flag @return true if the node is marked to be deleted, false otherwise.
src/main/java/ds/bplus/bptree/TreeNode.java:193
Method
getKey
()
src/main/java/ds/bplus/bptree/KeyValueWrapper.java:24
Method
getKey
()
src/main/java/ds/bplus/bptree/DeleteResult.java:53
Method
getKey
()
src/main/java/ds/bplus/bptree/SearchResult.java:66
Method
getLastKey
Get last element @return return the last key
src/main/java/ds/bplus/bptree/TreeNode.java:358
Method
getLastOverflowPointer
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:65
Method
getLookupOverflowHeaderSize
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:202
Method
getLookupPageDegree
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:180
Method
getLookupPageOffset
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:186
Method
getMaxPageNumber
Max index used (indicates the filesize) @return max number of pages that the file has
src/main/java/ds/bplus/bptree/BPlusTree.java:2339
Method
getPerformanceClass
Return the current performance class tied to our instance @return the performance class reference
src/main/java/ds/bplus/bptree/BPlusTree.java:2317
Method
getPointerListSize
()
src/main/java/ds/bplus/bptree/TreeInternalNode.java:50
Method
getTotalIntermittentInsertionReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:405
Method
getTotalIntermittentInsertionWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:409
Method
getTreeConfiguration
Return the current configuration @return the configuration reference
src/main/java/ds/bplus/bptree/BPlusTree.java:2308
Method
getValue
()
src/main/java/ds/bplus/bptree/KeyValueWrapper.java:28
Method
incrementTotalInternalNodeDeletions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:127
Method
incrementTotalLeafNodeDeletions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:134
Method
incrementTotalOverflowPageDeletions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:141
Method
main
(String[] args)
src/main/java/ds/bplus/fudger/Main.java:13
Method
next
()
src/main/java/ds/bplus/util/Utilities.java:182
Method
printNode
()
src/main/java/ds/bplus/bptree/TreeInternalNode.java:108
Method
printNode
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:158
Method
printNode
()
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:81
Method
printNode
()
src/main/java/ds/bplus/bptree/TreeOverflow.java:105
Method
printNodeAt
Helper to print the node @param index index of the node to read and print. @throws IOException is thrown when an I/O operation fails
src/main/java/ds/bplus/bptree/BPlusTree.java:2405
Method
printTotalStatistics
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:509
Method
randQPR
(long seed, long seedOffset)
src/main/java/ds/bplus/util/Utilities.java:169
Method
readDate
It reads an date in the form dd/mm/yyyy from standard input and returns it as value.In case of an error it returns null @param message The message th
src/main/java/ds/bplus/util/StandardInputRead.java:179
Method
readNegativeFloat
It reads an negative float from standard input and returns it as value. In case of an error it returns 1 @param message The message that is appeared
src/main/java/ds/bplus/util/StandardInputRead.java:149
Method
readNegativeInt
It reads an negative integer from standard input and returns it as value. In case of an error it returns 1 @param message The message that is apperad
src/main/java/ds/bplus/util/StandardInputRead.java:89
Method
readPositiveFloat
It reads an positive float, zero included, from standard input and returns it as value. In case of an error it returns -1.0 @param message The messag
src/main/java/ds/bplus/util/StandardInputRead.java:119
Method
readString
It reads a string from standard inputand returns it as value. In case of an error it returns null @param message The message that is apperad to the u
src/main/java/ds/bplus/util/StandardInputRead.java:42
Method
readTime
It reads an time in the form h:mm AM or PM from standard input and returns it as value.In case of an error it returns null Example of valid times: 8:3
src/main/java/ds/bplus/util/StandardInputRead.java:206
Method
setConditionThreshold
(int conditionThreshold)
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:192
Method
setNextPointer
Set the next pointer of the node @param nextPointer the new next pointer
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:77
Method
setPageIndex
Update the page index @param pageIndex new page index
src/main/java/ds/bplus/bptree/TreeNode.java:315
Method
setPointerAt
(int index, long val)
src/main/java/ds/bplus/bptree/TreeInternalNode.java:47
Method
setPrevPagePointer
(long prevPagePointer)
src/main/java/ds/bplus/bptree/TreeOverflow.java:59
Method
setTrackIO
(boolean trackIO)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:68
Method
testMassRandomInsertionsWithDelete
This test loads up a massive non-unique key list in random order (10^5) onto trees of the following degrees: - Page sizes: 256, 1024 (1Kb), 2048 (
src/test/java/BPlusTreeTest.java:419
Method
testMassRandomInsertionsWithSearch
This test loads up a massive non-unique key list in random order (10^5) onto trees of the following degrees: - Page sizes: 256, 1024 (1Kb), 2048 (
src/test/java/BPlusTreeTest.java:315
Method
testMassRandomUniqueInsertions
This test loads up a massive unique key list in random order (10^5) onto trees of the following degrees: - Page sizes: 256, 1024 (1Kb), 2048 (2Kb)
src/test/java/BPlusTreeTest.java:226
Method
testMassSequentialInsertions
This test loads up sequentially a massive key list (10^5) onto trees of the following degrees: - Page sizes: 256, 1024 (1Kb), 2048 (2Kb) with the
src/test/java/BPlusTreeTest.java:69
Method
testMassSequentialInsertionsWithDelete
This test loads up sequentially a massive key list (10^5) onto trees of the following degrees: - Page sizes: 256, 1024 (1Kb), 2048 (2Kb) with the
src/test/java/BPlusTreeTest.java:145
Method
writeNode
Internal node structure is as follows: -- node type -- (2 bytes) -- current capacity -- (4 bytes) -- Key -- (8 bytes max size) -- Pointers (8 b
src/main/java/ds/bplus/bptree/TreeInternalNode.java:73
Method
writeObjectToFile
Write object to file (used for testing certain key-sequences) @param obj Linked list to write @param filename filename to dump the object @throws IOE
src/main/java/ds/bplus/util/Utilities.java:125
← previous
201–271 of 271, ranked by callers