Augmented btree builder. More...
#include <tpie/btree/base.h>
Public Member Functions | |
template<typename X = enab> | |
builder (std::string path, comp_type comp=comp_type(), augmenter_type augmenter=augmenter_type(), enable< X,!is_internal >=enab()) | |
Construct a btree builder with the given storage. More... | |
template<typename X = enab> | |
builder (comp_type comp=comp_type(), augmenter_type augmenter=augmenter_type(), memory_bucket_ref bucket=memory_bucket_ref(), enable< X, is_internal >=enab()) | |
void | push (value_type v) |
Push a value to the builder. More... | |
tree_type | build (const std::string &metadata=std::string()) |
Constructs and returns a btree from the value that was pushed to the builder. More... | |
Augmented btree builder.
The fanout and location of nodes is decided by the store type S C is the item comparator type A is the type of the augmentation computation fuctor
|
inlineexplicit |
Construct a btree builder with the given storage.
Definition at line 214 of file btree_builder.h.
|
inline |
Constructs and returns a btree from the value that was pushed to the builder.
The btree builder should not be used again after this point.
Definition at line 256 of file btree_builder.h.
|
inline |
Push a value to the builder.
Values are expected to be received in order
v | The value to be pushed |
Definition at line 235 of file btree_builder.h.
References tpie::serialized_size().