Skip to content
1 min read · 132 words

@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

InterfaceDescription
CollectionFieldSpecDeclaration of a single metadata field in a CollectionSpec.
CollectionSpecA compiled collection definition, consumed by an adapter's createCollection.
DeletePlanA compiled delete operation, consumed by an adapter's executeDelete.
ProjectionNormalized projection from .select(); REQUIRED on reads — every column opt-in, id included.
SearchPlanA compiled nearest-neighbour search operation, consumed by an adapter's executeSearch.
UpsertPlanA compiled insert-or-replace operation, consumed by an adapter's executeUpsert.