Module connectorx::sources

source ·
Expand description

This module defines four traits Source, SourcePartition, PartitionParser, and Produce to define a source. This module also contains source implementations for various databases.

Modules§

  • Source implementation for Google BigQuery
  • Source implementation for CSV files.
  • A dummy source that generates different values based on an internal counter. This source is for test purpose.
  • Source implementation for SQL Server.
  • Source implementation for MySQL database.
  • Source implementation for Postgres database, including the TLS support (client only).
  • Source implementation for SQLite embedded database.

Traits§

  • A type implemented Produce<T> means that it can produce a value T by consuming part of it’s raw data buffer.
  • In general, a DataSource abstracts the data source as a stream, which can produce a sequence of values of variate types by repetitively calling the function produce.