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

    Class Session

    Index
    persistCache: PersistCache
    runtime: Runtime
    • get isClosed(): boolean

      Returns boolean

    • Bind a frame or plan to this session's runtime (its engine, memory policy and cache).

      Type Parameters

      Parameters

      Returns DataFrame<S>

    • Bind a frame or plan to this session's runtime (its engine, memory policy and cache).

      Type Parameters

      Parameters

      Returns LazyFrame<S>

    • Drop everything this session cached. Frames already materialized stay usable.

      Returns void

    • Type Parameters

      Parameters

      • bytes: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns DataFrame<S>

    • Type Parameters

      • C extends Record<
            string,
            | readonly (string | number | boolean | Date | null)[]
            | Float64Array<ArrayBufferLike>
            | Float32Array<ArrayBufferLike>
            | Int32Array<ArrayBufferLike>
            | Uint32Array<ArrayBufferLike>
            | Uint8Array<ArrayBufferLike>
            | { codes: Uint32Array; dictionary: string[] },
        >

      Parameters

      • cols: C
      • Optionaloptions: { copy?: boolean }

      Returns DataFrame<
          {
              [K in string
              | number
              | symbol]: { [K in string | number | symbol]: ColumnValue<C[K]> }[K]
          },
      >

    • Type Parameters

      Parameters

      • rows: readonly T[]

      Returns DataFrame<T>

    • Per-call IO options with this session's policy added as a floor.

      Type Parameters

      Parameters

      • Optionaloptions: O

      Returns O