Skip to content

DataSourceRegister

DataSourceRegister is an abstraction of data sources to be available under shortName alias (so it can be looked up by the alias not a fully-qualified class name)

Contract

shortName

shortName(): String

Used when:

Data Source Discovery

DataSourceRegister should register itself in META-INF/services/org.apache.spark.sql.sources.DataSourceRegister file for Java's ServiceLoader to discover the service.


Last update: 2021-02-17