maph 1.0.0 High-Performance Memory-Mapped Key-Value Database with O(1) Lookups

Loading...
Searching...
No Matches
Public Member Functions | List of all members
maph::MaphBuilder Class Reference

`#include <maph.hpp>`

Collaboration diagram for maph::MaphBuilder:

## Public Member Functions
MaphBuilder & | path (const std::string &p)
MaphBuilder & | slots (size_t n)
MaphBuilder & | hash (std::function< uint32_t(const std::string &)> fn)
std::unique_ptr< Maph > | build ()

## Detailed Description

Definition at line 316 of file maph.hpp.

## Member Function Documentation

## ◆ build()

std::unique_ptr< Maph > maph::MaphBuilder::build | ( |  | ) |
| inline

Definition at line 338 of file maph.hpp.

References maph::Maph::create().

Here is the call graph for this function:

## ◆ hash()

MaphBuilder & maph::MaphBuilder::hash | ( | std::function< uint32_t(const std::string &)> | fn | ) |
| inline

Definition at line 333 of file maph.hpp.

## ◆ path()

MaphBuilder & maph::MaphBuilder::path | ( | const std::string & | p | ) |
| inline

Definition at line 323 of file maph.hpp.

## ◆ slots()

MaphBuilder & maph::MaphBuilder::slots | ( | size_t | n | ) |
| inline

Definition at line 328 of file maph.hpp.

The documentation for this class was generated from the following file:

- include/maph/maph.hpp