smollerGraph 0.20.2
A small graph database, from scratch
Loading...
Searching...
No Matches
pager.h File Reference
#include <array>
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include "absl/status/status.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  smollergraph::Pager
 A file of pages, each read and written whole, by its number. More...
 

Namespaces

namespace  smollergraph
 

Typedefs

using smollergraph::PageId = uint32_t
 
using smollergraph::Page = std::array< std::byte, kPageSize >
 

Variables

constexpr size_t smollergraph::kPageSize = 4096
 What the database reads and writes at a time: 4 KiB, the size of a block on most file systems and disks.