Module readwriter

Source
Expand description

DataFrameReader & DataFrameWriter representations

Structs§

CommonFileOptions
Common file options that are shared across multiple file formats (e.g., CSV, JSON, ORC, Parquet, Text).
CsvOptions
A struct that represents options for configuring CSV file parsing.
DataFrameReader
DataFrameReader represents the entrypoint to create a DataFrame from a specific file format.
DataFrameWriter
DataFrameWriter provides the ability to output a DataFrame to a specific file format supported by Spark
DataFrameWriterV2
JsonOptions
A struct that represents options for configuring JSON file parsing.
OrcOptions
A struct that represents options for configuring ORC file parsing.
ParquetOptions
A struct that represents options for configuring Parquet file parsing.
TextOptions
A struct that represents options for configuring text file parsing.

Traits§

ConfigOpts
A trait used to convert to the expected Spark Options for readwriters
ToSchema
A trait used to a create a DDL string or JSON string