Interface V1Scan
- All Superinterfaces:
Scan
A trait that should be implemented by V1 DataSources that would like to leverage the DataSource
V2 read code paths.
This interface is designed to provide Spark DataSources time to migrate to DataSource V2 and
will be removed in a future Spark release.
- Since:
- 3.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.spark.sql.connector.read.Scan
Scan.ColumnarSupportMode
-
Method Summary
Modifier and TypeMethodDescription<T extends BaseRelation & TableScan>
TtoV1TableScan
(SQLContext context) Create an `BaseRelation` with `TableScan` that can scan data from DataSource v1 to RDD[Row].Methods inherited from interface org.apache.spark.sql.connector.read.Scan
columnarSupportMode, description, readSchema, reportDriverMetrics, supportedCustomMetrics, toBatch, toContinuousStream, toMicroBatchStream
-
Method Details
-
toV1TableScan
Create an `BaseRelation` with `TableScan` that can scan data from DataSource v1 to RDD[Row].- Since:
- 3.0.0
-