Expand description
kyu-storage: buffer manager, page store, frame management, columnar storage.
Unsafe boundary: frame.rs and latch.rs contain the only unsafe code.
All other modules are safe Rust.
Re-exports§
pub use buffer_manager::BufferManager;pub use buffer_manager::BufferManagerStats;pub use buffer_manager::PinnedPage;pub use chunked_node_group::ChunkedNodeGroup;pub use column_chunk::BoolChunkData;pub use column_chunk::ColumnChunk;pub use column_chunk::ColumnChunkData;pub use column_chunk::FixedSizeValue;pub use column_chunk::StringChunkData;pub use csr::CsrDirection;pub use csr::CsrHeader;pub use csr::CsrIndex;pub use csr::CsrList;pub use csr::CsrNodeGroup;pub use csr::NodeCsrIndex;pub use disk_cache::DiskCache;pub use frame::Frame;pub use latch::RwLatch;pub use local_page_store::LocalPageStore;pub use node_group::NodeGroup;pub use node_group::NodeGroupIdx;pub use null_mask::NullMask;pub use page_id::FileId;pub use page_id::FrameIdx;pub use page_id::PAGE_SIZE;pub use page_id::PageId;pub use page_id::PoolId;pub use page_store::MockPageStore;pub use page_store::PageStore;pub use pool::Pool;pub use remote_page_store::RemotePageStore;pub use constants::*;pub use storage_types::*;
Modules§
- buffer_
manager - chunked_
node_ group - ChunkedNodeGroup: groups column chunks for a batch of rows.
- column_
chunk - Column chunk: in-memory columnar buffer with typed access.
- constants
- Centralized storage constants matching Kuzu’s system configuration.
- csr
- Compressed Sparse Row (CSR) structures for relationship storage.
- disk_
cache - Write-through disk cache between a buffer manager and a remote page store.
- frame
- latch
- local_
page_ store - node_
group - NodeGroup: manages NODE_GROUP_SIZE (131,072) rows as a collection of ChunkedNodeGroups.
- null_
mask - Packed u64 bitset for null tracking.
- page_id
- page_
store - pool
- remote_
page_ store - S3-backed page store for cloud deployment.
- storage_
types - Storage type primitives: PageRange, StorageValue, column chunk stats and metadata.