|
xale-db 1.0
minimal SQL engine, written in c++
|
BPlus Tree implementation. More...
#include <BPlusTree.h>

Public Member Functions | |
| BPlusTree (int maxKeys) | |
| B+Tree constructor. | |
| bool | insert (TKey key, TValue *value) |
| Insert a key-value pair into the B+ Tree. | |
| bool | remove (TKey key) |
| Remove a key from the B+ Tree. | |
| TValue * | search (TKey key) |
| Search for a key in the B+ Tree. | |
BPlus Tree implementation.
| Xale::DataStructure::BPlusTree< TKey, TValue >::BPlusTree | ( | int | maxKeys | ) |
B+Tree constructor.
| maxKeys | Maximum number of keys per node |
| bool Xale::DataStructure::BPlusTree< TKey, TValue >::insert | ( | TKey | key, |
| TValue * | value ) |
Insert a key-value pair into the B+ Tree.
| key | The key to insert |
| value | The value associated with the key |
| bool Xale::DataStructure::BPlusTree< TKey, TValue >::remove | ( | TKey | key | ) |
Remove a key from the B+ Tree.
| key | The key to remove |
| TValue * Xale::DataStructure::BPlusTree< TKey, TValue >::search | ( | TKey | key | ) |
Search for a key in the B+ Tree.
| key | The key to search for |