@InterfaceStability.Evolving public interface ReadSupport extends DataSourceV2
DataSourceV2. Data sources can implement this interface to
provide data reading ability and scan the data from the data source.| Modifier and Type | Method and Description |
|---|---|
DataSourceReader |
createReader(DataSourceOptions options)
Creates a
DataSourceReader to scan the data from this data source. |
DataSourceReader createReader(DataSourceOptions options)
DataSourceReader to scan the data from this data source.
If this method fails (by throwing an exception), the action would fail and no Spark job was
submitted.options - the options for the returned data source reader, which is an immutable
case-insensitive string-to-string map.