com.nicta.scoobi.io.text

TextSource

case class TextSource[A](paths: Seq[String], inputFormat: Class[_ <: FileInputFormat[LongWritable, Text]] = classOf[TextInputFormat], inputConverter: InputConverter[LongWritable, Text, A] = TextInput.defaultTextConverter, check: InputCheck = Source.defaultInputCheck)(implicit evidence$1: WireFormat[A]) extends DataSource[LongWritable, Text, A] with Product with Serializable

Class that abstracts all the common functionality of reading from text files.

Linear Supertypes
Serializable, Serializable, Product, Equals, DataSource[LongWritable, Text, A], Source, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TextSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DataSource
  7. Source
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextSource(paths: Seq[String], inputFormat: Class[_ <: FileInputFormat[LongWritable, Text]] = classOf[TextInputFormat], inputConverter: InputConverter[LongWritable, Text, A] = TextInput.defaultTextConverter, check: InputCheck = Source.defaultInputCheck)(implicit arg0: WireFormat[A])

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val check: InputCheck

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromKeyValueConverter: InputConverter[LongWritable, Text, A]

    map the key-values of a source's InputFormat to the final type produced by it

    map the key-values of a source's InputFormat to the final type produced by it

    Definition Classes
    DataSource → Source
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. val id: Int

    returns

    a unique id for this source

    Definition Classes
    DataSource → Source
  12. def inputCheck(implicit sc: ScoobiConfiguration): Unit

    check the validity of the source specification

    check the validity of the source specification

    Definition Classes
    TextSourceDataSource → Source
  13. def inputConfigure(job: Job)(implicit sc: ScoobiConfiguration): Unit

    configure the source.

    configure the source.

    Definition Classes
    TextSourceDataSource → Source
  14. val inputConverter: InputConverter[LongWritable, Text, A]

    Definition Classes
    TextSourceDataSource
  15. val inputFormat: Class[_ <: FileInputFormat[LongWritable, Text]]

    the InputFormat specifying the type of input for this source

    the InputFormat specifying the type of input for this source

    Definition Classes
    TextSourceDataSource → Source
  16. def inputSize(implicit sc: ScoobiConfiguration): Long

    returns

    the size in bytes of the data being input by this source

    Definition Classes
    TextSourceDataSource → Source
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  21. val paths: Seq[String]

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DataSource[LongWritable, Text, A]

Inherited from Source

Inherited from AnyRef

Inherited from Any

Ungrouped