com.nicta.scoobi.io.text

TextInput

trait TextInput extends AnyRef

Smart functions for materialising distributed lists by loading text files.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TextInput
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. object ADouble

    Extract a Double from a String.

  5. object AFloat

    Extract a Float from a String.

  6. object ALong

    Extract a Long from a String.

  7. object AnInt

    Extract an Int from a String.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def defaultTextConverter: InputConverter[LongWritable, Text, String]

    INPUT CONVERTERS

  11. def defaultTextConverterToString: InputConverter[Text, Text, (String, String)]

  12. def defaultTextConverterWithPath: InputConverter[LongWritable, Text, (String, String)]

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromDelimitedTextFile[A](path: String, sep: String = "\t", check: InputCheck = Source.defaultInputCheck)(extractFn: PartialFunction[Seq[String], A])(implicit arg0: WireFormat[A]): DList[A]

    Create a distributed list from a text file that is a number of fields delimited by some separator.

    Create a distributed list from a text file that is a number of fields delimited by some separator. Use an extractor function to pull out the required fields to create the distributed list.

  17. def fromDelimitedTextFiles[A](paths: Seq[String], sep: String = "\t", check: InputCheck = Source.defaultInputCheck)(extractFn: PartialFunction[Seq[String], A])(implicit arg0: WireFormat[A]): DList[A]

    Create a distributed list from a list of one ore more files or directories (in the case of a directory, the input forms all files in that directory).

    Create a distributed list from a list of one ore more files or directories (in the case of a directory, the input forms all files in that directory). The file(s) contain a number of fields delimited by a separator. Use an extractor function to pull out the required fields to create the distributed list.

  18. def fromTextFile(paths: String*): DList[String]

    Create a DList from one or more files or directories (in the case of a directory, the input forms all files in that directory).

  19. def fromTextFileWithPath(path: String, check: InputCheck = Source.defaultInputCheck): DList[(String, String)]

    Create a distributed list from one or more files or directories (in the case of a directory, the input forms all files in that directory).

    Create a distributed list from one or more files or directories (in the case of a directory, the input forms all files in that directory). The distributed list is a tuple where the first part is the path of the originating file and the second part is a line of text.

  20. def fromTextFileWithPaths(paths: Seq[String], check: InputCheck = Source.defaultInputCheck): DList[(String, String)]

    Create a distributed list from a list of one or more files or directories (in the case of a directory, the input forms all files in that directory).

    Create a distributed list from a list of one or more files or directories (in the case of a directory, the input forms all files in that directory). The distributed list is a tuple where the first part is the path of the originating file and the second part is a line of text.

  21. def fromTextFiles(paths: Seq[String], check: InputCheck = Source.defaultInputCheck): DList[String]

  22. def fromTextSource[A](source: DataSource[_, _, A])(implicit arg0: WireFormat[A]): DListImpl[A]

    TEXT SOURCES

  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def textSource(paths: Seq[String], check: InputCheck = Source.defaultInputCheck): TextSource[String]

    create a text source

  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped