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() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getOptionsWithoutPaths(map: CaseInsensitiveStringMap): CaseInsensitiveStringMap
    Attributes
    protected
  10. def getPaths(map: CaseInsensitiveStringMap): Seq[String]
    Attributes
    protected
  11. def getTable(schema: StructType, partitioning: Array[Transform], properties: Map[String, String]): Table
    Definition Classes
    FileDataSourceV2 → TableProvider
  12. def getTable(options: CaseInsensitiveStringMap, schema: StructType): Table
    Attributes
    protected
  13. def getTableName(map: CaseInsensitiveStringMap, paths: Seq[String]): String
    Attributes
    protected
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def inferPartitioning(options: CaseInsensitiveStringMap): Array[Transform]
    Definition Classes
    FileDataSourceV2 → TableProvider
  16. def inferSchema(options: CaseInsensitiveStringMap): StructType
    Definition Classes
    FileDataSourceV2 → TableProvider
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. lazy val sparkSession: SparkSession
  22. def supportsExternalMetadata(): Boolean
    Definition Classes
    FileDataSourceV2 → TableProvider
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from DataSourceRegister

Inherited from TableProvider

Inherited from AnyRef

Inherited from Any

Ungrouped