vortex_layout/
lib.rs

1#![feature(once_cell_try)]
2#![feature(trait_alias)]
3mod data;
4pub use data::*;
5mod context;
6pub use context::*;
7pub mod layouts;
8
9pub use reader::*;
10pub use strategy::*;
11use vortex_array::arcref::ArcRef;
12pub use vtable::*;
13pub use writer::*;
14mod reader;
15pub mod scan;
16pub mod segments;
17mod strategy;
18pub mod vtable;
19mod writer;
20
21pub type LayoutId = ArcRef<str>;
22
23/// The layout ID for a flat layout
24pub const FLAT_LAYOUT_ID: LayoutId = ArcRef::new_ref("vortex.flat");
25/// The layout ID for a chunked layout
26pub const CHUNKED_LAYOUT_ID: LayoutId = ArcRef::new_ref("vortex.chunked");
27/// The layout ID for a struct layout
28pub const STRUCT_LAYOUT_ID: LayoutId = ArcRef::new_ref("vortex.struct");
29/// The layout ID for a stats layout
30pub const STATS_LAYOUT_ID: LayoutId = ArcRef::new_ref("vortex.stats");