Class SnowflakeFileTransferMetadataV1

  • All Implemented Interfaces:
    Serializable, SnowflakeFileTransferMetadata

    public class SnowflakeFileTransferMetadataV1
    extends Object
    implements SnowflakeFileTransferMetadata, Serializable
    A class to manage metadata for upload or download files. It is introduced for distributed data processing. The typical use case is: 1. The cluster master has JDBC connection to the Snowflake and it can generate this object for the file transfer. 2. The cluster master node can transfer the object to cluster worker. 3. The cluster worker can upload or download data with the object without JDBC Connection.

    NOTE: When this class is created, it only supports UPLOAD for GCS. It is created for Snowflake Spark Connector.

    See Also:
    Serialized Form
    • Method Detail

      • getPresignedUrl

        public String getPresignedUrl()
      • setPresignedUrl

        public void setPresignedUrl​(String presignedUrl)
      • getPresignedUrlFileName

        public String getPresignedUrlFileName()
      • setPresignedUrlFileName

        public void setPresignedUrlFileName​(String presignedUrlFileName)
      • getEncryptionMaterial

        public net.snowflake.common.core.RemoteStoreFileEncryptionMaterial getEncryptionMaterial()
      • setEncryptionMaterial

        public void setEncryptionMaterial​(String encryptionMaterial_queryStageMasterKey,
                                          String encryptionMaterial_queryId,
                                          Long encryptionMaterial_smkId)
      • getStageInfo

        public StageInfo getStageInfo()
      • setStageInfo

        public void setStageInfo​(StageInfo stageInfo)