Expand description
Vector-metadata AST leaves (ADR 0053, RQL Phase 2 S4b).
MetadataFilter is referenced by the canonical SQL AST
(VectorQuery.filter). It and its data dependencies — MetadataValue and
MetadataEntry — are re-homed here so the AST resolves entirely against
reddb-io-types. Their inherent comparison methods depend only on Value,
the canonical_key ordering, and
partial_compare_values — all already neutral — so
the move is byte-faithful and does not drag the vector engine across.
The server-side inverted index (KeyIndex / MetadataStore) stays in
storage::engine::vector_metadata, which keeps a re-export shim and
consumes metadata_value_to_canonical_key from here.
Structs§
- Metadata
Entry - A metadata entry containing key-value pairs organized by type
Enums§
- Metadata
Filter - Metadata filter operators
- Metadata
Value - A metadata value that can be one of several types
Functions§
- metadata_
value_ to_ canonical_ key - Map a
MetadataValueto its canonical secondary-index key, when the value participates in the ordered index. Consumed by the server-side inverted index (KeyIndex).