influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-giraffe

influxdb-client-giraffe package

Functions

Function Description
acceptMaxTableLength(max) Creates an accept function that stops processing if the table reaches the specified max rows.
createCollector(resolve, reject, tableFactory, tableOptions) Creates influxdb-client-js’s FluxResultObserver that collects row results to a Table instance
csvToFromFluxResult(csv, tableFactory, tableOptions) Transforms annotated CSV query response to Giraffe’s FromFluxResult.
csvToTable(csv, tableFactory, tableOptions) Transforms annotated CSV query response to Giraffe’s Table.
queryToFromFluxResult(queryApi, query, tableFactory, tableOptions) Executes a flux query and iterrativelly collects results into a Giraffe’s FromFluxResult.
queryToTable(queryApi, query, tableFactory, tableOptions) Executes a flux query and collects results into a Giraffe’s Table.

Interfaces

Interface Description
TableOptions Contains parameters that optimize/drive creation of the query result Table.

Variables

Variable Description
QUERY_MAX_TABLE_LENGTH QUERY_MAX_TABLE_LENGTH is a default max table length, it can be overriden in TableOptions.

Type Aliases

Type Alias Description
AcceptRowFunction AcceptRowFunction allows to accept/reject specific rows or terminate processing.
GiraffeTableFactory A type of a function that creates a new giraffe table of a specified length