// SPDX-License-Identifier: MIT OR Apache-2.0
//! ailake-file — unified file format
//!
//! Owns the combined Parquet + AI-Lake footer file.
//! The single file that Iceberg manifests point to.
//!
//! Layout: [PAR1][row groups][AILK header+centroid+HNSW+trailer][Parquet footer][footer_len][PAR1]
//!
//! See docs/specs/FILE_FORMAT.md for the binary specification.

pub mod footer;
pub mod reader;
pub mod writer;

pub use footer::{
    AilakeHeader, AilakeTrailer, DistanceMetric, Precision, AILAKE_FORMAT_VERSION, AILAKE_MAGIC,
    FLAG_INDEX_IVF_PQ, HEADER_SIZE, TRAILER_SIZE,
};
pub use reader::AilakeFileReader;
pub use writer::{AilakeFileWriter, IndexType, VectorColumnBatch};
