c

net.snowflake.spark.snowflake.io

ExternalS3Storage

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