class RemoteFileUtil extends Serializable
A utility class for handling remote file systems designed to be used in a DoFn
.
- Source
- RemoteFileUtil.java
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RemoteFileUtil
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RemoteFileUtil()
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def delete(srcs: List[URI]): Unit
Delete a batch of downloaded local files.
- def delete(src: URI): Unit
Delete a single downloaded local file.
- def download(srcs: List[URI]): List[Path]
Download a batch of remote
URI
s in parallel.Download a batch of remote
URI
s in parallel.- returns
Path
s to the downloaded local files.
- def download(src: URI): Path
Download a single remote
URI
.Download a single remote
URI
.- returns
Path
to the downloaded local file.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def remoteExists(uri: URI): Boolean
Check if a remote
URI
exists. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def upload(src: Path, dst: URI, mimeType: String): Unit
Upload a single local
Path
to a remoteURI
with mimeTypeMimeTypes
. - def upload(src: Path, dst: URI): Unit
Upload a single local
Path
to a remoteURI
. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()