Implements the Input interface and provides structured access to data from a CSV file/string.

Takes in a PODPipelineCSVInput, which also specifies the columns that are expected to exist, and their data types. Each column has a specific data type, and the cells in that column will be parsed into the appropriate data, if possible. If the data cannot be parsed, an exception will be thrown on construction of the CSVInput. As such, if you have a CSVInput instance then you can be sure that the data in it is strongly typed and valid.

Implements

Constructors

  • Parameters

    Returns CSVInput

Properties

columns: Record<string, InputColumn>
data: Record<string, InputValue>[] = []

Methods

  • Parameters

    Returns CSVInput

Generated using TypeDoc