SPARQL.ex v0.1.0 TSV View Source

Link to this section Summary

Functions

Eagerly dumps an enumerable into iodata (a list of binaries and bytes and other lists)

Lazily dumps from an enumerable to a stream

Eagerly parses CSV from an enumerable and returns a list of rows

Lazily parses CSV from a stream and returns a stream of rows

Eagerly parses CSV from a string and returns a list of rows

Link to this section Functions

Link to this function dump_to_iodata(enumerable) View Source

Eagerly dumps an enumerable into iodata (a list of binaries and bytes and other lists).

Callback implementation for NimbleCSV.dump_to_iodata/1.

Link to this function dump_to_stream(enumerable) View Source

Lazily dumps from an enumerable to a stream.

It returns a stream that emits each row as iodata.

Callback implementation for NimbleCSV.dump_to_stream/1.

Link to this function parse_enumerable(enumerable, opts \\ []) View Source

Eagerly parses CSV from an enumerable and returns a list of rows.

Options

  • :header - when false, no longer discard the first row. Defaults to true.

Callback implementation for NimbleCSV.parse_enumerable/2.

Link to this function parse_stream(stream, opts \\ []) View Source

Lazily parses CSV from a stream and returns a stream of rows.

Options

  • :header - when false, no longer discard the first row. Defaults to true.

Callback implementation for NimbleCSV.parse_stream/2.

Link to this function parse_string(string, opts \\ []) View Source

Eagerly parses CSV from a string and returns a list of rows.

Options

  • :header - when false, no longer discard the first row. Defaults to true.

Callback implementation for NimbleCSV.parse_string/2.