Expand description
Engine-agnostic AST shapes for array DDL/DML carried on SqlPlan.
Kept free of any dependency on nodedb-array so the SQL crate stays
lean. The Origin-side SqlPlan→PhysicalPlan converter is responsible
for translating these into typed nodedb_array::ArraySchema and
engine-typed coord/cell values before crossing the bridge.
Structs§
- Array
Attr Ast - One attribute spec in
CREATE ARRAY ... ATTRS (...). - Array
DimAst - One dim spec in
CREATE ARRAY ... DIMS (...). - Array
Insert Row - One row of an
INSERT INTO ARRAY ...:COORDS (...) VALUES (...). - Array
Slice Ast ARRAY_SLICE(...)slice predicate: an unordered set of named dim ranges, expanded to per-positionOption<DimRange>by the converter (unconstrained dims becomeNone).- Named
DimRange - One named
dim: [lo, hi]entry in a slice predicate.
Enums§
- Array
Attr Literal - One attribute literal in
... VALUES (...).Nullpermitted only for nullable attrs (validated in the converter). - Array
Attr Type - Attribute type tag (mirrors
nodedb_array::schema::AttrType). - Array
Binary OpAst - Pairwise op carried on
SqlPlan::ArrayElementwise. Mirrorscrate::bridge::physical_plan::ArrayBinaryOp. - Array
Cell Order Ast - Cell-order strategy AST mirror.
- Array
Coord Literal - One coord scalar in
INSERT INTO ARRAY ... COORDS (...)— a literal value typed loosely; the converter coerces against the schema’s declared dim type. - Array
DimType - Dimension type tag (mirrors
nodedb_array::schema::DimType). - Array
Domain Bound - Domain bound carrying its dim’s type tag.
- Array
Reducer Ast - Reducer carried on
SqlPlan::ArrayAgg. Mirrorscrate::bridge::physical_plan::ArrayReducerwithout the bridge dep. - Array
Tile Order Ast - Tile-order strategy AST mirror.