o Huge refactoring of the BulkLoad feature. We now are capable to bulk load elements...
authorEmmanuel Lécharny <elecharny@apache.org>
Tue, 24 Feb 2015 13:43:59 +0000 (13:43 +0000)
committerEmmanuel Lécharny <elecharny@apache.org>
Tue, 24 Feb 2015 13:43:59 +0000 (13:43 +0000)
commit9e83907abe9e77008a8589ff2366670a296b4dcb
tree732ba76ab8f1df228f923b27c0114eb366dbedfe
parent1aa6bf278582bbd7258e95b08d382ce0e7f3a2e7
o Huge refactoring of the BulkLoad feature. We now are capable to bulk load elements with multiple values
o Removed useless sysout
o Added a setValues() method in Page
o The BtreHeaderOffset and BTreeInfoOffset default value is now NO_PAGE
o The subtrees are now created in one step, then written in a second step, to avoid creating pages that will be immediately reused
o raw keys are marked with the deserialied value as :<K> in the KeyHolder.toString() method
o Fixed a NPE in PersistedLeaf.toString() method
15 files changed:
mavibot/img/datastructure.graphml
mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractBTree.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractValueHolder.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/BTreeHeader.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/BulkLoader.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryValueHolder.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedKeyHolder.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedValueHolder.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/BulkLoaderTest.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/InMemoryBTreeTest.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedSubBtreeKeyCursorTest.java