DataSourceReader
DataSourceReader
is the contract for data source readers with a custom DataReaderFactory.
1 2 3 4 5 6 7 8 9 10 |
package org.apache.spark.sql.sources.v2.reader; interface DataSourceReader { StructType readSchema(); List<DataReaderFactory<Row>> createDataReaderFactories(); } |
Note
|
In other words, using the contract is as treading on thin ice. |
Method | Description |
---|---|
Used when…FIXME |
|
Used when…FIXME |
DataSourceReader | Description |
---|---|
Used in Spark Structured Streaming |
|
Used in Spark Structured Streaming |
|