Skip to main content

Crate cratos_db

Crate cratos_db 

Source

Re-exports§

pub use cratos::BulkLoadStats;
pub use cratos::BulkRecord;
pub use cratos::CratosConfig;
pub use cratos::CratosEngine;
pub use cratos::CratosKeyValue;
pub use cratos::CratosSnapshot;
pub use cratos::RefId;
pub use cratos::bulk_format;

Modules§

bulk_format
Bulk-load record types (binary stream format).

Structs§

BulkLoadStats
Statistics returned by bulk load operations.
CratosConfig
Configuration for CratosEngine.
CratosEngine
High-level engine over LsmEngine with deduplication, hierarchy and bulk-load.
CratosKeyValue
Owned (key, value) pair yielded by [CratosSnapshot::range].
CratosSnapshot
v0.12 — point-in-time read view over both LSMs (key_index + value_store) with dedup-aware resolution. Created via CratosEngine::snapshot.
LsmConfig
LsmEngine
LsmSnapshot
Point-in-time engine-wide read view (P3-6 MVP + mvcc-1).
PerLevelCompression
Per-level compression configuration.
SnapshotRangeIter
WriteBufferManagerConfig
Configuration for [WriteBufferManager].

Enums§

BulkRecord
A single record yielded by an iterator-based bulk load.
CompressionCodec
Compression codec for SSTable blocks.
LsmError
MemtableType
Selects the active memtable implementation.
RamPolicy
SyncPolicy
Durability / fsync strategy for the Write-Ahead Log.

Type Aliases§

CompressionPolicy
Backward-compatibility alias — existing code using CompressionPolicy compiles unchanged.
RefId
Stable reference identifier (xxh3 of value bytes). Allows multiple keys to point to the same physical value (deduplication).
Result