Module arrow2::io::csv::write

source · []
Expand description

APIs to write to CSV

Structs

A single CSV record stored as raw bytes.

Options to serialize logical types to CSV The default is to format times and dates as chrono crate formats them.

Builds a CSV writer with various configuration knobs.

Functions

Returns a StreamingIterator that yields &[u8] serialized from array according to options. For numeric types, this serializes as usual. For dates, times and timestamps, it uses options to Supported types:

Serializes Chunk to a vector of rows. The vector is guaranteed to have columns.len() entries. Each row is guaranteed to have columns.array().len() fields.

Writes Chunk to writer according to the serialization options options.

Writes a CSV header to writer