directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1593561 - in /directory/site/trunk/content/mavibot: user-guide.mdtext user-guide/4-btree-operations.mdtext
Date Fri, 09 May 2014 15:21:15 GMT
Author: elecharny
Date: Fri May  9 15:21:15 2014
New Revision: 1593561

URL: http://svn.apache.org/r1593561
Log:
Reorganized the chapters

Modified:
    directory/site/trunk/content/mavibot/user-guide.mdtext
    directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext

Modified: directory/site/trunk/content/mavibot/user-guide.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/mavibot/user-guide.mdtext?rev=1593561&r1=1593560&r2=1593561&view=diff
==============================================================================
--- directory/site/trunk/content/mavibot/user-guide.mdtext (original)
+++ directory/site/trunk/content/mavibot/user-guide.mdtext Fri May  9 15:21:15 2014
@@ -51,6 +51,7 @@ We are quite interested to improve the c
     * flush
     * load
 *  [4 - Mavibot B-tree operations](user-guide/4-btree-operations.html)
+    * Cursor informations
     * browse
     * contains
     * has

Modified: directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext?rev=1593561&r1=1593560&r2=1593561&view=diff
==============================================================================
--- directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext (original)
+++ directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext Fri May  9 15:21:15
2014
@@ -85,11 +85,11 @@ Moves to the next value of the current k
 
 Moves to the previous value of the current key or to the previous key if all the values of
the current key have been processed, and return the associated tuple.
 
-## 4.1 Browse Operations
+## 4.2 Browse Operations
 
 Now that we know what a _Cursor_ is about, we can describe the various _browse_ operations
that can be applied on a _BTree_.
 
-### 4.1.1 BTree.browse()
+### 4.2.1 BTree.browse()
 
 This method returns a cursor with the position set before the first element of the **B-tree**,
for the current revision. It returns a _TupleCursor_ that contain the tuples <key,value>
present in the _Btree_.
 
@@ -135,7 +135,7 @@ will produce this output :
     <4,4>
     <5,5>
 
-### 4.1.2 BTree.browse( long )
+### 4.2.2 BTree.browse( long )
 
 This method returns a cursor with the position set before the first element of the **B-tree**,
for the given revision. 
 
@@ -145,7 +145,7 @@ It returns a _TupleCursor_ that contain 
 
 You can use the exact same code than for the _browse()_ method, except that you have to pass
the version you want to browse.
 
-### 4.1.3 BTree.browseFrom( K key )
+### 4.2.3 BTree.browseFrom( K key )
 
 This method returns a cursor with the position set before the given key of the **B-tree**.
If the key does not exist, the cursor will be set to the closest lower value (or upper value
if it's lower than the lowest value)
 
@@ -166,56 +166,55 @@ You can use the exact same code than for
         assertTrue( cursor.hasPrev() );
         assertEquals( 1000L, cursor.prev().getKey().longValue() );
 
-### 4.1.4 BTree.browseFrom( long revision, K key )
+### 4.2.4 BTree.browseFrom( long revision, K key )
 TODO
 
-## 4.2 Contains Operations
+## 4.3 Contains Operations
 
-### 4.2.1 BTree.contains( K key, V value )
+### 4.3.1 BTree.contains( K key, V value )
 TODO
 
-### 4.2.2 BTree.contains( long revision, K key, V value )
+### 4.3.2 BTree.contains( long revision, K key, V value )
 TODO
 
-## 4.3 Has Operations
+## 4.4 Has Operations
 
-### 4.3.1 BTree.hasKey( K key )
+### 4.4.1 BTree.hasKey( K key )
 TODO
 
-### 4.3.2 BTree.hasKey( long revision, K key )
+### 4.4.2 BTree.hasKey( long revision, K key )
 TODO
 
-## 4.4 Get Operations
+## 4.5 Get Operations
 
-### 4.4.1 BTree.get( K key )
+### 4.5.1 BTree.get( K key )
 TODO
 
-### 4.4.2 BTree.get( long revision, K key )
+### 4.5.2 BTree.get( long revision, K key )
 TODO
 
-### 4.4.3 BTree.getValues( K key )
+### 4.5.3 BTree.getValues( K key )
 TODO
 
-## 4.5 Insert Operation
+## 4.6 Insert Operation
 
-## 4.6 Delete Operations
+## 4.7 Delete Operations
 
-### 4.6.1 BTree.delete( K key )
+### 4.8.1 BTree.delete( K key )
 TODO
 
-### 4.6.2 BTree.delete( K key, V value )
+### 4.7.2 BTree.delete( K key, V value )
 TODO
 
+## 4.8 Other BTree operations
 
-## 4.7 Other BTree operations
-
-### 4.7.1 BTree.close()
+### 4.8.1 BTree.close()
 TODO
 
-### 4.7.2 BTree.flush()
+### 4.8.2 BTree.flush()
 TODO
 
-### 4.7.3 BTree.getRevision()
+### 4.8.3 BTree.getRevision()
 TODO
 
 



Mime
View raw message