Class

ai.deepsense.deeplang

DSHdfsClient

Related Doc: package deeplang

Permalink

case class DSHdfsClient(hdfsClient: DFSClient) extends Serialization with FileSystemClient with Product with Serializable

Wrapper class for DFSClient. Introduces higher level operations on hdfs.

Linear Supertypes
Serializable, Serializable, Product, Equals, FileSystemClient, Serialization, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DSHdfsClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FileSystemClient
  7. Serialization
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DSHdfsClient(hdfsClient: DFSClient)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copyLocalFile[T <: Serializable](localFilePath: String, remoteFilePath: String): Unit

    Permalink

    Copies file from the local files system to the hdfs.

    Copies file from the local files system to the hdfs.

    Definition Classes
    DSHdfsClientFileSystemClient
  7. def delete(path: String): Unit

    Permalink

    Deletes file or dir under given path

    Deletes file or dir under given path

    Definition Classes
    DSHdfsClientFileSystemClient
  8. def deserialize[T](bytes: Array[Byte]): T

    Permalink
    Definition Classes
    Serialization
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def fileExists(path: String): Boolean

    Permalink

    Checks if file located by the given path exists

    Checks if file located by the given path exists

    Definition Classes
    DSHdfsClientFileSystemClient
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getFileInfo(path: String): Option[FileInfo]

    Permalink

    Returns basic info about a file.

    Returns basic info about a file.

    Definition Classes
    DSHdfsClientFileSystemClient
  14. val hdfsClient: DFSClient

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def readFileAsObject[T <: Serializable](path: String): T

    Permalink

    Reads content of the file under the given path and uses default java serialization to deserialize it to the instance of a class with the given type.

    Reads content of the file under the given path and uses default java serialization to deserialize it to the instance of a class with the given type.

    Definition Classes
    DSHdfsClientFileSystemClient
  20. def saveInputStreamToFile(inputStream: InputStream, destinationPath: String): Unit

    Permalink

    Saves content of the given input stream to the file on hdfs under the given path.

    Saves content of the given input stream to the file on hdfs under the given path.

    Definition Classes
    DSHdfsClientFileSystemClient
  21. def saveObjectToFile[T <: Serializable](path: String, instance: T): Unit

    Permalink

    Serializes given object using default java serialization and saves it to a file under the given path

    Serializes given object using default java serialization and saves it to a file under the given path

    Definition Classes
    DSHdfsClientFileSystemClient
  22. def serialize[T](objectToSerialize: T): Array[Byte]

    Permalink
    Definition Classes
    Serialization
  23. def serializeDeserialize[T](obj: T): T

    Permalink
    Definition Classes
    Serialization
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FileSystemClient

Inherited from Serialization

Inherited from AnyRef

Inherited from Any

Ungrouped