pond-ts API Reference (core)
    Preparing search index...

    Class ArrayColumn

    Array-kind value column. Currently single-mode (fallback). The offsets / values length-prefix fields appear in the framework design as future-optimization slots but are not populated by 1c construction paths; they remain undefined.

    Index

    Constructors

    Properties

    fallback: readonly (ArrayValue | undefined)[]
    kind: "array" = ...
    length: number
    storage: "packed" = ...
    validity?: ValidityBitmap

    Methods

    • Linear scan with callback. skipInvalid defaults to true. When skipInvalid: false, invalid rows receive the empty-array sentinel EMPTY_ARRAY_SENTINEL (a single shared frozen empty array), matching the no-mode-divergence pattern that the StringColumn '' sentinel established in 1b. Callers consult column.validity to disambiguate a real empty array from the sentinel.

      Parameters

      • fn: (value: ArrayValue, i: number) => void
      • Optionaloptions: ScanOptions

      Returns void