Skip to main content

Module vector_metadata

Module vector_metadata 

Source
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§

MetadataEntry
A metadata entry containing key-value pairs organized by type

Enums§

MetadataFilter
Metadata filter operators
MetadataValue
A metadata value that can be one of several types

Functions§

metadata_value_to_canonical_key
Map a MetadataValue to its canonical secondary-index key, when the value participates in the ordered index. Consumed by the server-side inverted index (KeyIndex).