关注 spark技术分享,
撸spark源码 玩spark最佳实践

DataSourceReader

DataSourceReader

DataSourceReader is the contract for data source readers with a custom DataReaderFactory.

Note

DataSourceReader is an Evolving contract that is evolving towards becoming a stable API, but is not a stable API yet and can change from one feature release to another release.

In other words, using the contract is as treading on thin ice.

Table 1. DataSourceReader Contract
Method Description

readSchema

Used when…​FIXME

createDataReaderFactories

Used when…​FIXME

Table 2. DataSourceReaders
DataSourceReader Description

ContinuousReader

Used in Spark Structured Streaming

MicroBatchReader

Used in Spark Structured Streaming

SupportsPushDownCatalystFilters

SupportsPushDownFilters

SupportsPushDownRequiredColumns

SupportsReportPartitioning

SupportsReportStatistics

SupportsScanColumnarBatch

SupportsScanUnsafeRow

赞(0) 打赏
未经允许不得转载:spark技术分享 » DataSourceReader
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏