Packages

c

net.snowflake.spark.snowflake.io

ExternalS3Storage

case class ExternalS3Storage(bucketName: String, awsId: String, awsKey: String, proxyInfo: Option[ProxyInfo], maxRetryCount: Int, sfURL: String, useExponentialBackoff: Boolean, fileCountPerPartition: Int, awsToken: Option[String] = None, pref: String = "", connection: ServerConnection, parallelism: Int = CloudStorageOperations.DEFAULT_PARALLELISM, useRegionUrl: Option[String], regionName: Option[String], stageEndPoint: Option[String]) extends CloudStorage with Product with Serializable

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

Instance Constructors

  1. new ExternalS3Storage(bucketName: String, awsId: String, awsKey: String, proxyInfo: Option[ProxyInfo], maxRetryCount: Int, sfURL: String, useExponentialBackoff: Boolean, fileCountPerPartition: Int, awsToken: Option[String] = None, pref: String = "", connection: ServerConnection, parallelism: Int = CloudStorageOperations.DEFAULT_PARALLELISM, useRegionUrl: Option[String], regionName: Option[String], stageEndPoint: Option[String])

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 MAX_SLEEP_TIME_IN_MS: Int
    Attributes
    protected
    Definition Classes
    CloudStorage
  5. val RETRY_SLEEP_TIME_UNIT_IN_MS: Int
    Attributes
    protected
    Definition Classes
    CloudStorage
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val awsId: String
  8. val awsKey: String
  9. val awsToken: Option[String]
  10. val bucketName: String
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. val connection: ServerConnection
    Definition Classes
    ExternalS3StorageCloudStorage
  13. def createDownloadStream(fileName: String, compress: Boolean, storageInfo: Map[String, String]): InputStream
    Attributes
    protected
    Definition Classes
    ExternalS3StorageCloudStorage
  14. def createDownloadStreamWithRetry(fileName: String, compress: Boolean, storageInfo: Map[String, String], maxRetryCount: Int): InputStream
    Definition Classes
    CloudStorage
  15. def createUploadStream(fileName: String, dir: Option[String], compress: Boolean, storageInfo: Map[String, String]): OutputStream
    Attributes
    protected
    Definition Classes
    ExternalS3StorageCloudStorage
  16. def deleteFile(fileName: String): Unit
    Definition Classes
    ExternalS3StorageCloudStorage
  17. def deleteFiles(fileNames: List[String]): Unit
    Definition Classes
    ExternalS3StorageCloudStorage
  18. def download(sc: SparkContext, format: SupportedFormat, compress: Boolean, subDir: String): RDD[String]
    Definition Classes
    ExternalS3StorageCloudStorage
  19. def download(fileName: String, compress: Boolean): InputStream
    Definition Classes
    CloudStorage
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. val fileCountPerPartition: Int
  22. def fileExists(fileName: String): Boolean
    Definition Classes
    ExternalS3StorageCloudStorage
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def getFileName(fileIndex: Int, format: SupportedFormat, compress: Boolean): String
    Attributes
    protected
    Definition Classes
    CloudStorage
  25. def getStageInfo(isWrite: Boolean, fileName: String = ""): (Map[String, String], List[String])
    Attributes
    protected
    Definition Classes
    CloudStorage
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val maxRetryCount: Int
    Definition Classes
    ExternalS3StorageCloudStorage
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. val parallelism: Int
  32. val pref: String
  33. lazy val prefix: String
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def productIterator: Iterator[Any]
    Definition Classes
    Product
  36. val proxyInfo: Option[ProxyInfo]
    Definition Classes
    ExternalS3StorageCloudStorage
  37. val regionName: Option[String]
  38. def retrySleepTimeInMS(retry: Int): Int
    Attributes
    protected
    Definition Classes
    CloudStorage
  39. val sfURL: String
    Definition Classes
    ExternalS3StorageCloudStorage
  40. val stageEndPoint: Option[String]
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def upload(data: RDD[String], format: SupportedFormat = SupportedFormat.CSV, dir: Option[String], compress: Boolean = true): List[FileUploadResult]
    Definition Classes
    CloudStorage
  43. def upload(fileName: String, dir: Option[String], compress: Boolean): OutputStream
    Definition Classes
    CloudStorage
  44. def uploadPartition(rows: Iterator[String], format: SupportedFormat, compress: Boolean, directory: String, partitionID: Int, storageInfo: Option[Map[String, String]], fileTransferMetadata: Option[SnowflakeFileTransferMetadata]): SingleElementIterator
    Attributes
    protected
    Definition Classes
    CloudStorage
  45. def uploadRDD(data: RDD[String], format: SupportedFormat = SupportedFormat.CSV, dir: Option[String], compress: Boolean = true, storageInfo: Map[String, String]): List[FileUploadResult]
    Attributes
    protected
    Definition Classes
    CloudStorage
  46. val useExponentialBackoff: Boolean
    Definition Classes
    ExternalS3StorageCloudStorage
  47. val useRegionUrl: Option[String]
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CloudStorage

Inherited from AnyRef

Inherited from Any

Ungrouped