Expand description
reddb-io-types — the neutral keystone crate for RedDB’s logical type
system (ADR 0052).
This crate sits at the bottom of the workspace crate graph: every
authority crate (reddb-io-file, reddb-io-wire, the planned
reddb-io-rql and reddb-io-crypto) may depend on it, but it depends on
no other workspace crate. It owns the core type vocabulary —
Value, DataType, SqlTypeName, TypeModifier,
TypeCategory, ValueError, and Row — together with the
value_codec serialization that Value::to_bytes/from_bytes delegate
to.
The reddb-server storage::schema module keeps a re-export shim so the
~180 existing call-sites across the workspace stay untouched.
Re-exports§
pub use canonical_key::value_to_canonical_key;pub use canonical_key::CanonicalKey;pub use canonical_key::CanonicalKeyFamily;pub use operator::BinOp;pub use types::DataType;pub use types::Row;pub use types::SqlTypeName;pub use types::TypeCategory;pub use types::TypeModifier;pub use types::Value;pub use types::ValueError;
Modules§
- canonical_
key - cast_
catalog - Cast catalog — Fase 3 foundation for explicit / implicit type coercion.
- catalog
- Catalog AST-leaf descriptors (ADR 0053, RQL Phase 2 S4b).
- coerce
- Type coercion and validation for rich types.
- coercion_
spine - Coercion spine — the single owner of “given these argument types, which catalog overload applies and what implicit casts does the engine need to insert?”
- distance
- Vector distance-metric AST leaf (ADR 0053, RQL Phase 2 S4b).
- duration
- Duration-string parsing — the leaf
parse_duration_nshelper. - function_
catalog - Function catalog — static table of built-in scalar / aggregate
function signatures used by the Fase 3 expression typer to
resolve
Expr::FunctionCallnodes to a concrete return type. - index_
hint - Optimizer index-hint AST leaf (ADR 0053, RQL Phase 2 S4b).
- json
- operator
- Binary-operator vocabulary.
- operator_
catalog - Operator catalog — static table of built-in operator signatures, Fase 3 type-system extension.
- parametric
- Parametric type validators — Phase 4 partial drop.
- polymorphic
- Polymorphic pseudo-types — Fase 3 extension.
- queue_
mode - Queue-mode AST leaf (ADR 0053, RQL Phase 2 S4b).
- serde_
json - types
- RedDB Type System
- utils
- value_
codec - On-disk codec registry for
Value. - value_
compare - Cross-type
Valuecomparison (ADR 0053, RQL Phase 2 S4b). - vector_
metadata - Vector-metadata AST leaves (ADR 0053, RQL Phase 2 S4b).