Skip to main content

Crate kyu_storage

Crate kyu_storage 

Source
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.