net
.
snowflake
.
spark
.
snowflake
.
io
CloudStorage
Related Doc:
package io
sealed
trait
CloudStorage
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
ExternalAzureStorage
,
ExternalS3Storage
,
InternalAzureStorage
,
InternalGcsStorage
,
InternalS3Storage
Ordering
Alphabetic
By Inheritance
Inherited
CloudStorage
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
val
connection
:
Connection
Attributes
protected
abstract
def
createDownloadStream
(
fileName:
String
,
compress:
Boolean
,
storageInfo:
Map
[
String
,
String
]
)
:
InputStream
Attributes
protected
abstract
def
createUploadStream
(
fileName:
String
,
dir:
Option
[
String
]
,
compress:
Boolean
,
storageInfo:
Map
[
String
,
String
]
)
:
OutputStream
Attributes
protected
abstract
def
deleteFile
(
fileName:
String
)
:
Unit
abstract
def
download
(
sc:
SparkContext
,
format:
SupportedFormat
=
SupportedFormat.CSV
,
compress:
Boolean
=
true
,
subDir:
String
=
""
)
:
RDD
[
String
]
abstract
def
fileExists
(
fileName:
String
)
:
Boolean
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
RETRY_SLEEP_TIME_UNIT_IN_MS
:
Long
Attributes
protected
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
createDownloadStreamWithRetry
(
fileName:
String
,
compress:
Boolean
,
storageInfo:
Map
[
String
,
String
]
,
maxRetryCount:
Int
)
:
InputStream
def
deleteFiles
(
fileNames:
List
[
String
]
)
:
Unit
def
download
(
fileName:
String
,
compress:
Boolean
)
:
InputStream
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getFileName
(
fileIndex:
Int
,
format:
SupportedFormat
,
compress:
Boolean
)
:
String
Attributes
protected
def
getStageInfo
(
isWrite:
Boolean
,
fileName:
String
=
""
)
: (
Map
[
String
,
String
],
List
[
String
])
Attributes
protected
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
upload
(
data:
RDD
[
String
]
,
format:
SupportedFormat
=
SupportedFormat.CSV
,
dir:
Option
[
String
]
,
compress:
Boolean
=
true
)
:
List
[
String
]
def
upload
(
fileName:
String
,
dir:
Option
[
String
]
,
compress:
Boolean
)
:
OutputStream
def
uploadRDD
(
data:
RDD
[
String
]
,
format:
SupportedFormat
=
SupportedFormat.CSV
,
dir:
Option
[
String
]
,
compress:
Boolean
=
true
,
storageInfo:
Map
[
String
,
String
]
)
:
List
[
String
]
Attributes
protected
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped