MCPcopy Create free account

hub / github.com/andylamp/BPlusTree / functions

Functions271 in github.com/andylamp/BPlusTree

↓ 1 callersMethodrunSearch
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 callersMethodrunSearchTrial
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 callersMethodsetBTree
(BPlusTree bt)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:72
↓ 1 callersMethodtotalOperationCount
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:504
↓ 1 callersMethodvalidateNeighbours
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 callersMethodwriteNode
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
MethodBPlusConfiguration
Default constructor which initializes all settings to the predefined defaults.
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:33
MethodBPlusTree
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
MethodBPlusTreePerformanceCounter
(boolean trackIO)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:63
MethodDeleteResult
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
MethodInvalidBTreeStateException
(String m)
src/main/java/ds/bplus/util/InvalidBTreeStateException.java:9
MethodKeyValueWrapper
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
MethodRangeResult
Constructor that instantiates basically our linked list
src/main/java/ds/bplus/bptree/RangeResult.java:21
MethodSearchResult
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
MethodStandardInputRead
Class constructor
src/main/java/ds/bplus/util/StandardInputRead.java:31
MethodTreeInternalNode
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
MethodTreeLeaf
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
MethodTreeLookupOverflowNode
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
MethodTreeNode
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
MethodTreeOverflow
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
MethodaddToTreeFromList
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
MethodaddToValueList
(int index, String value)
src/main/java/ds/bplus/bptree/TreeOverflow.java:44
Methodafter
()
src/test/java/BPlusTreeTest.java:47
Methodbefore
()
src/test/java/BPlusTreeTest.java:38
MethodgetBeingDeleted
Being deleted flag @return true if the node is marked to be deleted, false otherwise.
src/main/java/ds/bplus/bptree/TreeNode.java:193
MethodgetKey
()
src/main/java/ds/bplus/bptree/KeyValueWrapper.java:24
MethodgetKey
()
src/main/java/ds/bplus/bptree/DeleteResult.java:53
MethodgetKey
()
src/main/java/ds/bplus/bptree/SearchResult.java:66
MethodgetLastKey
Get last element @return return the last key
src/main/java/ds/bplus/bptree/TreeNode.java:358
MethodgetLastOverflowPointer
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:65
MethodgetLookupOverflowHeaderSize
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:202
MethodgetLookupPageDegree
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:180
MethodgetLookupPageOffset
()
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:186
MethodgetMaxPageNumber
Max index used (indicates the filesize) @return max number of pages that the file has
src/main/java/ds/bplus/bptree/BPlusTree.java:2339
MethodgetPerformanceClass
Return the current performance class tied to our instance @return the performance class reference
src/main/java/ds/bplus/bptree/BPlusTree.java:2317
MethodgetPointerListSize
()
src/main/java/ds/bplus/bptree/TreeInternalNode.java:50
MethodgetTotalIntermittentInsertionReads
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:405
MethodgetTotalIntermittentInsertionWrites
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:409
MethodgetTreeConfiguration
Return the current configuration @return the configuration reference
src/main/java/ds/bplus/bptree/BPlusTree.java:2308
MethodgetValue
()
src/main/java/ds/bplus/bptree/KeyValueWrapper.java:28
MethodincrementTotalInternalNodeDeletions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:127
MethodincrementTotalLeafNodeDeletions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:134
MethodincrementTotalOverflowPageDeletions
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:141
Methodmain
(String[] args)
src/main/java/ds/bplus/fudger/Main.java:13
Methodnext
()
src/main/java/ds/bplus/util/Utilities.java:182
MethodprintNode
()
src/main/java/ds/bplus/bptree/TreeInternalNode.java:108
MethodprintNode
()
src/main/java/ds/bplus/bptree/TreeLeaf.java:158
MethodprintNode
()
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:81
MethodprintNode
()
src/main/java/ds/bplus/bptree/TreeOverflow.java:105
MethodprintNodeAt
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
MethodprintTotalStatistics
()
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:509
MethodrandQPR
(long seed, long seedOffset)
src/main/java/ds/bplus/util/Utilities.java:169
MethodreadDate
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
MethodreadNegativeFloat
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
MethodreadNegativeInt
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
MethodreadPositiveFloat
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
MethodreadString
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
MethodreadTime
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
MethodsetConditionThreshold
(int conditionThreshold)
src/main/java/ds/bplus/bptree/BPlusConfiguration.java:192
MethodsetNextPointer
Set the next pointer of the node @param nextPointer the new next pointer
src/main/java/ds/bplus/bptree/TreeLookupOverflowNode.java:77
MethodsetPageIndex
Update the page index @param pageIndex new page index
src/main/java/ds/bplus/bptree/TreeNode.java:315
MethodsetPointerAt
(int index, long val)
src/main/java/ds/bplus/bptree/TreeInternalNode.java:47
MethodsetPrevPagePointer
(long prevPagePointer)
src/main/java/ds/bplus/bptree/TreeOverflow.java:59
MethodsetTrackIO
(boolean trackIO)
src/main/java/ds/bplus/bptree/BPlusTreePerformanceCounter.java:68
MethodtestMassRandomInsertionsWithDelete
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
MethodtestMassRandomInsertionsWithSearch
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
MethodtestMassRandomUniqueInsertions
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
MethodtestMassSequentialInsertions
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
MethodtestMassSequentialInsertionsWithDelete
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
MethodwriteNode
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
MethodwriteObjectToFile
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
← previous201–271 of 271, ranked by callers