icydb-core 0.94.0

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
//! Module: index::key
//! Responsibility: canonical index-key construction and raw encoding layers.
//! Does not own: index-store scanning or unique-constraint policy.
//! Boundary: used by planner/store/range modules as key authority.

mod build;
mod codec;
mod expression;
mod id;
mod ordered;

#[cfg(test)]
mod tests;

pub(crate) use codec::{IndexKey, IndexKeyKind, RawIndexKey};
pub(in crate::db) use expression::derive_index_expression_value;
pub(crate) use id::IndexId;
pub(crate) use ordered::{
    EncodedValue, OrderedValueEncodeError, encode_canonical_index_component_from_scalar,
    encode_canonical_index_component_from_storage_key,
};