Packages

trait FileDataSourceV2 extends TableProvider with DataSourceRegister

A base interface for data source v2 implementations of the built-in file-based data sources.

Linear Supertypes
DataSourceRegister, TableProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileDataSourceV2
  2. DataSourceRegister
  3. TableProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fallbackFileFormat: Class[_ <: FileFormat]

    Returns a V1 FileFormat class of the same file data source.

    Returns a V1 FileFormat class of the same file data source. This is a solution for the following cases: 1. File datasource V2 implementations cause regression. Users can disable the problematic data source via SQL configuration and fall back to FileFormat. 2. Catalog support is required, which is still under development for data source V2.

  2. abstract def getTable(options: CaseInsensitiveStringMap): Table
    Attributes
    protected
  3. abstract def shortName(): String

    The string that represents the format that this data source provider uses.

    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"
    Definition Classes
    DataSourceRegister
    Since

    1.5.0

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getOptionsWithoutPaths(map: CaseInsensitiveStringMap): CaseInsensitiveStringMap
    Attributes
    protected
  11. def getPaths(map: CaseInsensitiveStringMap): Seq[String]
    Attributes
    protected
  12. def getTable(schema: StructType, partitioning: Array[Transform], properties: Map[String, String]): Table
    Definition Classes
    FileDataSourceV2 → TableProvider
  13. def getTable(options: CaseInsensitiveStringMap, schema: StructType): Table
    Attributes
    protected
  14. def getTableName(map: CaseInsensitiveStringMap, paths: Seq[String]): String
    Attributes
    protected
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def inferPartitioning(options: CaseInsensitiveStringMap): Array[Transform]
    Definition Classes
    FileDataSourceV2 → TableProvider
  17. def inferSchema(options: CaseInsensitiveStringMap): StructType
    Definition Classes
    FileDataSourceV2 → TableProvider
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. lazy val sparkSession: SparkSession
  23. def supportsExternalMetadata(): Boolean
    Definition Classes
    FileDataSourceV2 → TableProvider
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from DataSourceRegister

Inherited from TableProvider

Inherited from AnyRef

Inherited from Any

Ungrouped