reader
Returns a DataSourceReader instance for reading data.
The implementation is required for readable data sources.
Syntax
reader(schema: StructType)
Parameters
Parameter | Type | Description |
|---|---|---|
| StructType | The schema of the data to be read. |
Returns
DataSourceReader
A reader instance for this data source.