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

    Class TimeRangeKeyColumn

    Implements

    • KeyColumnBase<"timeRange">
    Index

    Constructors

    Properties

    begin: Float64Array

    Half-open interval start in epoch milliseconds.

    end: Float64Array

    Half-open interval end. For time keys, equal to begin.

    kind: "timeRange" = ...
    length: number

    Row count.

    Methods

    • Zero-copy index-range view: returns a TimeRangeKeyColumn over begin.subarray(s, e) + end.subarray(s, e). Same trusted- buffer-immutability contract as the source.

      Note on max-end: the range-key invariant says begin[i] <= end[i] per row, NOT that end[i] is monotonically increasing. A long early event can extend past the final row's end. The slice preserves this — out.end[length - 1] is the end of the final row in the slice, NOT the maximum end across the slice. See RFC §4 close-cases for why range-key max-end is deferred.

      Parameters

      • start: number
      • end: number

      Returns TimeRangeKeyColumn