se.uu.it.mare

TextFile

Related Doc: package mare

case class TextFile(path: String, recordDelimiter: String = "\n", charset: String = "UTF-8") extends MountPoint[String] with Product with Serializable

TextFile mount point. Use this when processing large partitionable text files.

recordDelimiter

record delimiter (default: \n)

charset

character encoding (default: UTF_8)

Linear Supertypes
Product, Equals, MountPoint[String], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TextFile
  2. Product
  3. Equals
  4. MountPoint
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextFile(path: String, recordDelimiter: String = "\n", charset: String = "UTF-8")

    recordDelimiter

    record delimiter (default: \n)

    charset

    character encoding (default: UTF_8)

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. def appendPartitionToHostPath(partition: Iterator[String], hostPath: File): Unit

    Appends a partition to a host path.

    Appends a partition to a host path.

    hostPath

    host path where partition is written

    Definition Classes
    TextFileMountPoint
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val charset: String

    character encoding (default: UTF_8)

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createEmptyMountPoint(hostPath: File): Unit

    Creates an empty mount point at the specified host path.

    Creates an empty mount point at the specified host path.

    hostPath

    host path where the mount point is created

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

    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. val path: String

    Definition Classes
    TextFileMountPoint
  17. def readPartitionFromHostPath(hostPath: File): Iterator[String]

    Reads a partition from a host path.

    Reads a partition from a host path.

    returns

    partition iterator

    Definition Classes
    TextFileMountPoint
  18. val recordDelimiter: String

    record delimiter (default: \n)

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def writePartitionToHostPath(partition: Iterator[String], hostPath: File): Unit

    Writes a partition to a host path.

    Writes a partition to a host path.

    hostPath

    host path where partition is written

    Definition Classes
    TextFileMountPoint

Inherited from Product

Inherited from Equals

Inherited from MountPoint[String]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped