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.  | 
  | 
Represents the results of listing files from a stage location.  | 
Methods
  | 
Specify the path of the AVRO file(s) to load.  | 
  | 
Specify the path of the CSV file(s) to load.  | 
  | 
Reads data from a database table or query into a DataFrame using a DBAPI connection, with support for optional partitioning, parallel processing, and query customization.  | 
  | 
Returns a DataFrame representing the results of a directory table query on the specified stage.  | 
  | 
Returns a DataFrame with a single column   | 
  | 
Specify the format of the file(s) to load.  | 
  | 
Reads data from a database table or query into a DataFrame using a JDBC connection string, with support for optional partitioning, parallel processing, and query customization.  | 
  | 
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.  | 
|
  | 
Inserts the content of the DataFrame to the specified table.  | 
  | 
Inserts the content of the DataFrame to the specified table.  | 
  | 
Copy files from a source location to an output stage.  | 
  | 
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.  | 
  | 
Returns a list of files from a stage.  | 
  | 
Removes files from a stage.  | 
  | 
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.  | 
|
For a stage, Name of the staged file.  | 
|
Size of the file compressed (in bytes)  | 
|
For a stage, the MD5 column stores an MD5 hash of the contents of the staged data file.  | 
|
For a stage, Not used.  | 
|
For a stage, The last modified timestamp of the file.  |