Skip to main content

ailake_file/
lib.rs

1//! ailake-file — unified file format
2//!
3//! Owns the combined Parquet + AI-Lake footer file.
4//! The single file that Iceberg manifests point to.
5//!
6//! Layout: [PAR1][row groups][AILK header+centroid+HNSW+trailer][Parquet footer][footer_len][PAR1]
7//!
8//! See docs/specs/FILE_FORMAT.md for the binary specification.
9
10pub mod footer;
11pub mod reader;
12pub mod writer;
13
14pub use footer::{
15    AilakeHeader, AilakeTrailer, DistanceMetric, Precision, AILAKE_FORMAT_VERSION, AILAKE_MAGIC,
16    FLAG_INDEX_IVF_PQ, HEADER_SIZE, TRAILER_SIZE,
17};
18pub use reader::AilakeFileReader;
19pub use writer::{AilakeFileWriter, IndexType, VectorColumnBatch};