pub mod bool;
pub mod float;
pub mod integer;
pub mod string;
pub mod decimal;
pub mod temporal;
pub(crate) mod patches;
use vortex_compressor::builtins::FloatDictScheme;
use vortex_compressor::builtins::IntDictScheme;
use vortex_compressor::builtins::StringDictScheme;
use vortex_compressor::scheme::AncestorExclusion;
use vortex_compressor::scheme::ChildSelection;
use vortex_compressor::scheme::DescendantExclusion;
use vortex_compressor::scheme::SchemeExt;
use crate::schemes::integer::SparseScheme;
fn rle_descendant_exclusions() -> Vec<DescendantExclusion> {
vec![
DescendantExclusion {
excluded: IntDictScheme.id(),
children: ChildSelection::Many(&[1, 2]),
},
DescendantExclusion {
excluded: SparseScheme.id(),
children: ChildSelection::Many(&[1, 2]),
},
]
}
fn rle_ancestor_exclusions() -> Vec<AncestorExclusion> {
vec![
AncestorExclusion {
ancestor: IntDictScheme.id(),
children: ChildSelection::One(0),
},
AncestorExclusion {
ancestor: FloatDictScheme.id(),
children: ChildSelection::One(0),
},
AncestorExclusion {
ancestor: StringDictScheme.id(),
children: ChildSelection::One(0),
},
]
}