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§
- bigquery
- Source implementation for Google BigQuery
- csv
- Source implementation for CSV files.
- dummy
- A dummy source that generates different values based on an internal counter. This source is for test purpose.
- mssql
- Source implementation for SQL Server.
- mysql
- Source implementation for MySQL database.
- oracle
- postgres
- Source implementation for Postgres database, including the TLS support (client only).
- sqlite
- Source implementation for SQLite embedded database.
- trino
Traits§
- Partition
Parser - Produce
- A type implemented
Produce<T>
means that it can produce a valueT
by consuming part of it’s raw data buffer. - Source
- Source
Partition - 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 functionproduce
.