|
smollerGraph 0.20.2
A small graph database, from scratch
|
#include <cstddef>#include <cstdint>#include <functional>#include <map>#include <optional>#include <string>#include <string_view>#include <vector>#include "absl/status/status.h"#include "smollergraph/record_file.h"
Go to the source code of this file.
Classes | |
| struct | smollergraph::TokenRecord |
| A token's name on disk. Its id in the file is the token. More... | |
| class | smollergraph::TokenStore |
| Names and the tokens that stand for them, kept in a file of records, and in memory both ways, as there are only a few of them. More... | |
Namespaces | |
| namespace | smollergraph |
Typedefs | |
| using | smollergraph::TokenId = uint32_t |
| A number that stands for a name many records share, such as the label Species, so a record keeps four bytes in place of the name. | |
Variables | |
| constexpr TokenId | smollergraph::kNoToken = UINT32_MAX |
| The token for no name, such as the label of a node that hasn't got one. | |