Skip to main content

Crate hayson_engine

Crate hayson_engine 

Source
Expand description

The storage engine behind hayson — a document database on plain text files.

Start at database::Database, which opens a directory and hands out a table::Table per table; txn::UnitOfWork spans several of them in one commit.

The modules listed here are the whole public surface, and each one re-exports the names it means to expose. The layers underneath — the log files, the write queue, the in-memory registries and the index snapshots — stay private: they are the on-disk and in-RAM mechanics the layers above own, and a caller reaching them directly would be coupling to a format rather than to an API.

Modules§

atomic
buffer
catalog
compaction
crypto
database
errors
lock
query
schema
table
txn