Skip to main content

Module plan

Module plan 

Source
Expand description

SqlPlan intermediate representation and supporting types.

Structs§

ArrayPrefilter
Cross-engine prefilter for SqlPlan::VectorSearch: the array slice runs first, its matching cells’ surrogates form a bitmap that gates the HNSW candidate set.
MergePlanClause
A single WHEN ... THEN ... arm within a SqlPlan::Merge.
VectorAnnOptions
Knobs the vector planner exposes via SQL.
VectorPrimaryRow
A single row for a vector-primary INSERT.

Enums§

DistanceMetric
Distance metric selection.
KvInsertIntent
INSERT-vs-UPSERT intent carried on SqlPlan::KvInsert.
MergeClauseKind
Which rows trigger a WHEN arm.
MergePlanAction
The action performed when a WHEN arm fires.
SqlPlan
The top-level plan produced by the SQL planner.
VectorQuantization
Quantization choices exposed at SQL level.