Packages

c

io.dataos.spark.writers.file

FileWriterOptions

case class FileWriterOptions(path: Option[String], catalogName: Option[String], schemaName: Option[String], tableName: Option[String], saveMode: SaveMode = SaveMode.Append, partitionBy: Option[Seq[String]], format: String, alwaysUpdateSchemaInCatalog: Boolean, sort: Option[SortOptions], iceberg: Option[IcebergOutputOptions], metastoreUris: Option[String], warehousePath: Option[String], icebergCatalogType: Option[String], options: Map[String, String]) extends Product with Serializable

A case class that represents the configuration options for writing data to files.

path

The optional base path for the files to be written.

catalogName

The optional name of the catalog.

schemaName

The optional name of the schema.

tableName

The optional name of the table.

saveMode

The SaveMode used for writing data to files (default is Append).

partitionBy

The optional list of column names to partition the data by.

format

The file format to be used for writing data (e.g., parquet, csv, etc.).

alwaysUpdateSchemaInCatalog

A flag indicating whether to always update the schema in the catalog.

sort

The optional configuration for sorting the data before writing.

iceberg

The optional configuration options for writing data in Iceberg format.

metastoreUris

The optional URI(s) for the Hive metastore.

warehousePath

The optional base path for the warehouse storage.

icebergCatalogType

The optional type of the Iceberg catalog.

options

Additional options as key-value pairs to configure the writer.

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

Instance Constructors

  1. new FileWriterOptions(path: Option[String], catalogName: Option[String], schemaName: Option[String], tableName: Option[String], saveMode: SaveMode = SaveMode.Append, partitionBy: Option[Seq[String]], format: String, alwaysUpdateSchemaInCatalog: Boolean, sort: Option[SortOptions], iceberg: Option[IcebergOutputOptions], metastoreUris: Option[String], warehousePath: Option[String], icebergCatalogType: Option[String], options: Map[String, String])

    path

    The optional base path for the files to be written.

    catalogName

    The optional name of the catalog.

    schemaName

    The optional name of the schema.

    tableName

    The optional name of the table.

    saveMode

    The SaveMode used for writing data to files (default is Append).

    partitionBy

    The optional list of column names to partition the data by.

    format

    The file format to be used for writing data (e.g., parquet, csv, etc.).

    alwaysUpdateSchemaInCatalog

    A flag indicating whether to always update the schema in the catalog.

    sort

    The optional configuration for sorting the data before writing.

    iceberg

    The optional configuration options for writing data in Iceberg format.

    metastoreUris

    The optional URI(s) for the Hive metastore.

    warehousePath

    The optional base path for the warehouse storage.

    icebergCatalogType

    The optional type of the Iceberg catalog.

    options

    Additional options as key-value pairs to configure the writer.

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

    Returns the fully qualified name of the table in the format 'catalogName.schemaName.tableName'.

    Returns the fully qualified name of the table in the format 'catalogName.schemaName.tableName'.

    returns

    The fully qualified name of the table.

  13. def getTablePath: String

    Returns the full path to the table's location in the warehouse.

    Returns the full path to the table's location in the warehouse.

    returns

    The full path to the table's location in the warehouse.

  14. val iceberg: Option[IcebergOutputOptions]
  15. val icebergCatalogType: Option[String]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val metastoreUris: Option[String]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val options: Map[String, String]
  22. val partitionBy: Option[Seq[String]]
  23. val path: Option[String]
  24. val saveMode: SaveMode
  25. val schemaName: Option[String]
  26. val sort: Option[SortOptions]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val tableName: Option[String]
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. val warehousePath: Option[String]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped