Represents metadata of a flux table.

interface FluxTableMetaData {
    columns: FluxTableColumn[];
    column(label: string, errorOnMissingColumn?: boolean): FluxTableColumn;
    get(row: string[], column: string): any;
    toObject(row: string[]): { [key: string]: any };
}

Properties

Methods

Properties

columns: FluxTableColumn[]

Table columns.

Methods

  • Gets column values out of the supplied row.

    Parameters

    • row: string[]

      a row with data for each column

    • column: string

      column name

    Returns any

    column value, undefined for unknown column

  • Creates an object out of the supplied row with the help of column descriptors.

    Parameters

    • row: string[]

      a row with data for each column

    Returns { [key: string]: any }

MMNEPVFCICPMFPCPTTAAATR