Skip to main content

Module array_cell

Module array_cell 

Source
Expand description

Typed payload for Value::ArrayCell.

An ArrayCell carries a single N-dimensional array cell across the SQL / wire boundary: its coordinates (one Value per dimension) and its attributes (one Value per attribute column). The array engine converts between its own typed CoordValue / CellValue and this generic carrier at engine boundaries.

Using nodedb_types::Value for both coords and attrs keeps nodedb-types free of any dependency on nodedb-array.

Two cells are equal when their coords and attrs are structurally equal. Ordering is lexicographic on coords first, then attrs — this matches N-d array semantics where cells are ordered by coordinate.

Structs§

ArrayCell
One N-dimensional array cell — coordinates plus attribute values.