Expand description
CSV export functionality for Exasol.
This module provides functions for exporting data from Exasol tables or query results to CSV format via files, streams, in-memory lists, or custom callbacks.
§Architecture
The export process uses client mode where:
- We connect TO Exasol (outbound connection - works through firewalls)
- Perform EXA tunneling handshake to receive an internal address
- Execute an EXPORT SQL statement using the internal address
- Exasol sends data through the established connection
- We read and process the data stream
This client mode approach works with cloud Exasol instances and through NAT/firewalls.
Structs§
- CsvExport
Options - Options for CSV export configuration.
- Data
Pipe Receiver - Receiver end of the data pipe for processing exported data.
Enums§
- Export
Error - Error types for export operations.
Functions§
- export_
to_ callback - Exports data from an Exasol table or query using a custom callback.
- export_
to_ file - Exports data from an Exasol table or query to a file.
- export_
to_ list - Exports data from an Exasol table or query to an in-memory list of rows.
- export_
to_ stream - Exports data from an Exasol table or query to an async writer.