Input/Output¶
Classes
|
Provides methods to load data in various supported formats from a Snowflake stage to a |
|
Provides methods for writing data from a |
|
Provides methods for working on files in a stage. |
|
Represents the results of uploading a local file to a stage location. |
|
Represents the results of downloading a file from a stage location to the local file system. |
Methods
|
Specify the path of the AVRO file(s) to load. |
|
Specify the path of the CSV file(s) to load. |
|
Specify the format of the file(s) to load. |
|
Specify the path of the JSON file(s) to load. |
|
Specify the path of the file(s) to load. |
|
Sets the specified option in the DataFrameReader. |
|
Sets multiple specified options in the DataFrameReader. |
|
Specify the path of the ORC file(s) to load. |
|
Specify the path of the PARQUET file(s) to load. |
|
Define the schema for CSV files that you want to read. |
|
Returns a Table that points to the specified table. |
|
Define the metadata columns that need to be selected from stage files. |
|
Specify the path of the XML file(s) to load. |
Executes a COPY INTO <location> to unload data from a |
|
|
Executes internally a COPY INTO <location> to unload data from a |
|
Specifies the file format type to use for unloading data from the table. |
|
Executes internally a COPY INTO <location> to unload data from a |
|
Set the save mode of this |
|
Depending on the |
|
Sets multiple specified options for this |
|
Executes internally a COPY INTO <location> to unload data from a |
|
Executes internally a COPY INTO <location> to unload data from a |
|
Writes the data to the specified table in a Snowflake database. |
Writes the data to the specified table in a Snowflake database. |
|
|
Downloads the specified files from a path in a stage to a local directory. |
|
Downloads the specified files from a path in a stage and expose it through a stream. |
|
Uploads local files to the stage. |
|
Uploads local files to the stage via a file stream. |
|
Return number of occurrences of value. |
|
Return first index of value. |
|
Return number of occurrences of value. |
|
Return first index of value. |
Attributes
The detailed message of the upload status. |
|
The source file path. |
|
The source file compression format. |
|
The size in bytes of the source file. |
|
Status indicating whether the file was uploaded to the stage. |
|
The file path in the stage where the source file is uploaded. |
|
The target file compression format. |
|
The size in bytes of the target file. |
|
The downloaded file path. |
|
The detailed message about the download status. |
|
The size in bytes of the downloaded file. |
|
Indicates whether the download is successful. |