Interface V1Scan

All Superinterfaces:
Scan

@Unstable public interface V1Scan extends 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
  • Method Details

    • toV1TableScan

      <T extends BaseRelation & TableScan> T toV1TableScan(SQLContext context)
      Create an `BaseRelation` with `TableScan` that can scan data from DataSource v1 to RDD[Row].
      Since:
      3.0.0