Interface DataSourceRegister


public interface DataSourceRegister
Data sources should implement this trait so that they can register an alias to their data source. This allows users to give the data source alias as the format type over the fully qualified class name.

A new instance of this class will be instantiated each time a DDL call is made.

Since:
1.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The string that represents the format that this data source provider uses.
  • Method Details

    • shortName

      String shortName()
      The string that represents the format that this data source provider uses. This is overridden by children to provide a nice alias for the data source. For example:

      
         override def shortName(): String = "parquet"
       

      Returns:
      (undocumented)
      Since:
      1.5.0