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

    Interface ValidityBitmap

    interface ValidityBitmap {
        bits: Uint8Array;
        definedCount: number;
        length: number;
        countInRange(start: number, end: number): number;
        isDefined(i: number): boolean;
    }
    Index

    Properties

    bits: Uint8Array

    Packed validity bits — ceil(length / 8) bytes.

    definedCount: number

    Number of cells with their validity bit set. Cached at construction.

    length: number

    Logical row count covered by the bitmap.

    Methods

    • Counts defined cells in the half-open range [start, end).

      Parameters

      • start: number
      • end: number

      Returns number