Skip to main content

Module types_array

Module types_array 

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

ArrayAttrAst
One attribute spec in CREATE ARRAY ... ATTRS (...).
ArrayDimAst
One dim spec in CREATE ARRAY ... DIMS (...).
ArrayInsertRow
One row of an INSERT INTO ARRAY ...: COORDS (...) VALUES (...).
ArraySliceAst
ARRAY_SLICE(...) slice predicate: an unordered set of named dim ranges, expanded to per-position Option<DimRange> by the converter (unconstrained dims become None).
NamedDimRange
One named dim: [lo, hi] entry in a slice predicate.

Enums§

ArrayAttrLiteral
One attribute literal in ... VALUES (...). Null permitted only for nullable attrs (validated in the converter).
ArrayAttrType
Attribute type tag (mirrors nodedb_array::schema::AttrType).
ArrayBinaryOpAst
Pairwise op carried on SqlPlan::ArrayElementwise. Mirrors crate::bridge::physical_plan::ArrayBinaryOp.
ArrayCellOrderAst
Cell-order strategy AST mirror.
ArrayCoordLiteral
One coord scalar in INSERT INTO ARRAY ... COORDS (...) — a literal value typed loosely; the converter coerces against the schema’s declared dim type.
ArrayDimType
Dimension type tag (mirrors nodedb_array::schema::DimType).
ArrayDomainBound
Domain bound carrying its dim’s type tag.
ArrayReducerAst
Reducer carried on SqlPlan::ArrayAgg. Mirrors crate::bridge::physical_plan::ArrayReducer without the bridge dep.
ArrayTileOrderAst
Tile-order strategy AST mirror.