Packages

case class FilesInput(name: String, paths: Seq[String], warehousePath: Option[String], catalogName: Option[String], schemaName: Option[String], tableName: Option[String], metastoreUris: Option[String], options: Option[Map[String, String]], format: Option[String], isMetric: Option[Boolean], icebergCatalogType: Option[String], incremental: Option[Incremental], schema: Option[Schema]) extends FileInputBase with Product with Serializable

Represents a file-based input configuration.

name

The name of the file input.

paths

The sequence of file paths for the input.

warehousePath

An optional warehouse path for the input.

catalogName

An optional catalog name for the input.

schemaName

An optional schema name for the input.

tableName

An optional table name for the input.

metastoreUris

An optional string representing metastore URIs for the input.

options

An optional map of options for the input.

format

An optional string representing the format of the input.

isMetric

An optional flag indicating if the input is for metrics.

icebergCatalogType

An optional string representing the catalog type for Iceberg format.

incremental

An optional Incremental configuration for the input.

schema

An optional Schema for the input.

Linear Supertypes
Serializable, Serializable, Product, Equals, FileInputBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FilesInput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FileInputBase
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FilesInput(name: String, paths: Seq[String], warehousePath: Option[String], catalogName: Option[String], schemaName: Option[String], tableName: Option[String], metastoreUris: Option[String], options: Option[Map[String, String]], format: Option[String], isMetric: Option[Boolean], icebergCatalogType: Option[String], incremental: Option[Incremental], schema: Option[Schema])

    name

    The name of the file input.

    paths

    The sequence of file paths for the input.

    warehousePath

    An optional warehouse path for the input.

    catalogName

    An optional catalog name for the input.

    schemaName

    An optional schema name for the input.

    tableName

    An optional table name for the input.

    metastoreUris

    An optional string representing metastore URIs for the input.

    options

    An optional map of options for the input.

    format

    An optional string representing the format of the input.

    isMetric

    An optional flag indicating if the input is for metrics.

    icebergCatalogType

    An optional string representing the catalog type for Iceberg format.

    incremental

    An optional Incremental configuration for the input.

    schema

    An optional Schema for the input.

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. val catalogName: Option[String]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. val format: Option[String]
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getFormat(format: Option[String], path: String): String

    Determines the file format based on the specified format option or file path.

    Determines the file format based on the specified format option or file path.

    format

    The optional format specified by the user.

    path

    The file path.

    returns

    The determined file format.

    Definition Classes
    FileInputBase
  12. def getOptions(readFormat: String, options: Option[Map[String, String]]): Option[Map[String, String]]

    Retrieves the options for reading files based on the file format.

    Retrieves the options for reading files based on the file format.

    readFormat

    The file format.

    options

    The optional user-provided options.

    returns

    The options for reading files.

    Definition Classes
    FileInputBase
  13. def getSchemaStruct(schema: Option[Schema], sparkSession: SparkSession): Option[StructType]

    Retrieves the schema structure based on the provided schema path, schema string, and schema type.

    Retrieves the schema structure based on the provided schema path, schema string, and schema type.

    schema

    Schema info

    sparkSession

    The Spark session.

    returns

    The schema structure as a StructType.

    Definition Classes
    FileInputBase
  14. def getTable: String

    Generates the fully qualified table name in the format: catalogName.schemaName.tableName.

    Generates the fully qualified table name in the format: catalogName.schemaName.tableName.

    returns

    The fully qualified table name.

  15. val icebergCatalogType: Option[String]
  16. val incremental: Option[Incremental]
  17. def isHiveCatalog(format: String): Boolean

    Checks if the specified file format corresponds to a Hive catalog.

    Checks if the specified file format corresponds to a Hive catalog.

    format

    The file format.

    returns

    true if the format corresponds to a Hive catalog, false otherwise.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val isMetric: Option[Boolean]
  20. val metastoreUris: Option[String]
  21. val name: String
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val options: Option[Map[String, String]]
  26. val paths: Seq[String]
  27. def read(sparkSession: SparkSession): DataFrame

    Reads the files using the specified SparkSession and returns the resulting DataFrame.

    Reads the files using the specified SparkSession and returns the resulting DataFrame.

    sparkSession

    The SparkSession.

    returns

    The DataFrame containing the read data.

  28. val schema: Option[Schema]
  29. val schemaName: Option[String]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. val tableName: Option[String]
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. val warehousePath: Option[String]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FileInputBase

Inherited from AnyRef

Inherited from Any

Ungrouped