InfluxEx.CSVLibrary behaviour (influx_ex v0.3.1)

Behaviour for a CSV library to implement

By default InfluxEx will try to use InfluxEx.CSV which using :nimble_csv under the hood. If you want to use a different CSV library you can implement this behaviour for your library and pass the implementation module to the :csv_library option in InfluxEx.Client.new/2.

Link to this section Summary

Types

t()

A modules that implements this behaviour

Callbacks

Parse a CSV string into a list of rows (lists)

Link to this section Types

@type t() :: module()

A modules that implements this behaviour

Link to this section Callbacks

Link to this callback

parse_string(binary)

@callback parse_string(binary()) :: [[binary()]]

Parse a CSV string into a list of rows (lists)