nodedb-columnar 0.0.0-beta.1

Columnar segment format and memtable for NodeDB analytical storage
Documentation
//! Columnar segment format and memtable for NodeDB analytical storage.
//!
//! Provides the shared segment format used by all columnar profiles
//! (plain, timeseries, spatial). Segments are self-contained files with
//! per-column compressed blocks, block statistics, and a CRC-validated footer.
//!
//! # Segment Layout
//!
//! ```text
//! [SegmentHeader: magic "NDBS" + version + endianness]
//! [Column 0 blocks][Column 1 blocks]...[Column N blocks]
//! [SegmentFooter: schema_hash, column metadata, block stats, CRC32C]
//! ```

pub mod compaction;
pub mod delete_bitmap;
pub mod error;
pub mod format;
pub mod memtable;
pub mod mutation;
pub mod pk_index;
pub mod predicate;
pub mod reader;
pub mod wal_record;
pub mod writer;

pub use compaction::compact_segments;
pub use delete_bitmap::DeleteBitmap;
pub use error::ColumnarError;
pub use format::{
    BLOCK_SIZE, BlockStats, ColumnMeta, MAGIC, SegmentFooter, SegmentHeader, VERSION_MAJOR,
    VERSION_MINOR,
};
pub use memtable::ColumnarMemtable;
pub use mutation::MutationEngine;
pub use pk_index::PkIndex;
pub use predicate::ScanPredicate;
pub use reader::SegmentReader;
pub use writer::SegmentWriter;