Skip to main content

vortex_btrblocks/schemes/string/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4//! String compression schemes.
5
6mod fsst;
7mod sparse;
8
9#[cfg(feature = "zstd")]
10mod zstd;
11#[cfg(all(feature = "zstd", feature = "unstable_encodings"))]
12mod zstd_buffers;
13
14#[cfg(feature = "unstable_encodings")]
15mod onpair;
16
17pub use fsst::FSSTScheme;
18#[cfg(feature = "unstable_encodings")]
19pub use onpair::OnPairScheme;
20pub use sparse::NullDominatedSparseScheme;
21// Re-export builtin schemes from vortex-compressor.
22pub use vortex_compressor::builtins::StringConstantScheme;
23pub use vortex_compressor::builtins::StringDictScheme;
24pub use vortex_compressor::stats::StringStats;
25#[cfg(feature = "zstd")]
26pub use zstd::ZstdScheme;
27#[cfg(all(feature = "zstd", feature = "unstable_encodings"))]
28pub use zstd_buffers::ZstdBuffersScheme;
29
30#[cfg(test)]
31mod scheme_selection_tests;
32#[cfg(test)]
33mod tests;