vortex_layout/
lib.rs

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