pub(crate) mod retention_strategy {
use once_cell::sync::Lazy;
use reifydb_core::encoded::shape::{RowShape, RowShapeField};
use reifydb_type::value::r#type::Type;
pub(crate) const STRATEGY_KEEP_FOREVER: u8 = 0;
pub(crate) const STRATEGY_KEEP_VERSIONS: u8 = 1;
pub(crate) const CLEANUP_MODE_DELETE: u8 = 0;
pub(crate) const CLEANUP_MODE_DROP: u8 = 1;
pub(crate) const STRATEGY_TYPE: usize = 0;
pub(crate) const CLEANUP_MODE: usize = 1;
pub(crate) const VALUE: usize = 2;
pub(crate) static SHAPE: Lazy<RowShape> = Lazy::new(|| {
RowShape::new(vec![
RowShapeField::unconstrained("strategy_type", Type::Uint1),
RowShapeField::unconstrained("cleanup_mode", Type::Uint1),
RowShapeField::unconstrained("value", Type::Uint8),
])
});
}