@nhtio/adk/batteries/vector/plan
Compiled query plans for the vector storage battery.
Remarks
This module defines the neutral, pure-type plans that the query builder compiles to. Adapters consume these plans to perform vector operations without runtime logic here.
Interfaces
| Interface | Description |
|---|---|
| CollectionFieldSpec | Declaration of a single metadata field in a CollectionSpec. |
| CollectionSpec | A compiled collection definition, consumed by an adapter's createCollection. |
| DeletePlan | A compiled delete operation, consumed by an adapter's executeDelete. |
| Projection | Normalized projection from .select(); REQUIRED on reads — every column opt-in, id included. |
| SearchPlan | A compiled nearest-neighbour search operation, consumed by an adapter's executeSearch. |
| UpsertPlan | A compiled insert-or-replace operation, consumed by an adapter's executeUpsert. |