columna API reference - v0.5.0
    Preparing search index...

    Class Runtime

    Index
    persist: PersistCache

    This runtime's persist() cache: the process default unless the constructor was given its own.

    root: Runtime

    Lineage: withEngine() forks share their origin's root (same cache, backends and tenant). Frames on runtimes with different roots belong to different owners and are not combined implicitly — see resolveRuntime.

    • get memoryPolicy(): MemoryPolicy | undefined

      The memory policy this runtime applies to every execution (call-site collect({ memory }) overrides it).

      Returns MemoryPolicy | undefined

    • Parameters

      Returns Backend

    • Execute and return what actually ran: per-node backend, kernels, fallback reasons and timings. In strict mode a plan whose requested engine executed no node throws EngineStrictError.

      Parameters

      Returns Promise<{ report: ExecutionReport; table: TableView }>

    • Parameters

      Returns string

    • Registered backends (CPU first). Backends are shareable: withEngine forks and sessions reuse them.

      Returns Backend[]

    • Parameters

      • backend: Backend

      Returns void

    • Parameters

      Returns void

    • Replace this runtime's memory policy (instance only; setMemoryPolicy() from the package sets the process default).

      Parameters

      Returns void

    • Immutable-ish fork with a forced engine (does not mutate this instance).

      Parameters

      • engine: EngineKind
      • Optionaloptions: { strict?: boolean }

      Returns Runtime