CollectRows collects all the result rows in the returned Promise. This method is suitable to collect simple results. Use with caution, a possibly huge stream of results is copied to memory.
Optional
rowMapper: (values: string[], tableMeta: FluxTableMetaData) => undefined | Tmaps the supplied row to an item that is then collected,
undefined return values are not collected. If no rowMapper is supplied,
row => tableMeta.toObject(row.values)
is used.
Promise of mapped results
ConsumesLines consumes result lines (including empty and annotation lines) through the supplied consumer. See annotated-csv.
csv result lines and error consumer
ConsumeRows consumes result rows through the supplied consumer.
csv result lines and error consumer
Lines creates a cold observable of the CSV response lines.
observable of CSV result lines
Rows creates a cold observable of the CSV response rows.
observable of CSV result rows
AnnotatedCSVResponse provides various ways of how to process data from an annotated CSV response stream, which is returned as a result of a flux script execution.