Type alias Transformation<T>

Transformation<T>: ((inputTile: T) => ArrowBuildable | Promise<ArrowBuildable>)

Type Parameters

  • T

Type declaration

    • (inputTile: T): ArrowBuildable | Promise<ArrowBuildable>
    • A transformation is a batchwise operation that can be used to construct a new column in the data table. It runs asynchronously so that it can make network calls: it's defined as a recordbatch -> column operation rather than a point -> value operation for speed.

      If the resulting vector or float32array is not the same length as inputTile.record_batch.numRows, it will fail in an undefined way. This is not a guarantee I know how to enforce in the type system.

      Parameters

      • inputTile: T

      Returns ArrowBuildable | Promise<ArrowBuildable>

Generated using TypeDoc