com.nicta.scoobi.io.text

TextFileSink

Related Docs: object TextFileSink | package text

case class TextFileSink[A](path: String, overwrite: Boolean = false, check: OutputCheck = Sink.defaultOutputCheck, compression: Option[Compression] = None)(implicit evidence$1: Manifest[A]) extends DataSink[NullWritable, A, A] with Product with Serializable

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

Instance Constructors

  1. new TextFileSink(path: String, overwrite: Boolean = false, check: OutputCheck = Sink.defaultOutputCheck, compression: Option[Compression] = None)(implicit arg0: Manifest[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: OutputCheck

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compress: Sink

    returns

    a new sink with Gzip compression enabled

    Definition Classes
    Sink
  8. def compressWith(codec: CompressionCodec, compressionType: CompressionType = CompressionType.BLOCK): TextFileSink[A]

    returns

    a new sink with compression enabled

    Definition Classes
    TextFileSink → Sink
  9. val compression: Option[Compression]

    returns

    a compression object if this sink is compressed

    Definition Classes
    TextFileSinkDataSink
  10. def configureCompression(configuration: Configuration): DataSink[NullWritable, A, A]

    configure the compression for a given job

    configure the compression for a given job

    Definition Classes
    DataSink → Sink
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. val id: Int

    unique id for this Sink

    unique id for this Sink

    Definition Classes
    DataSink → Sink
  15. def isCompressed: Boolean

    returns

    true if this Sink is compressed

    Definition Classes
    DataSink → Sink
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def isSinkResult(tag: Int): (Path) ⇒ Boolean

    returns

    true if the file path has the name of an output channel with the proper tag and index or if it is a _SUCCESS file

    Definition Classes
    Sink
  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. def outputCheck(implicit sc: ScoobiConfiguration): Unit

    Check the validity of the DataSink specification.

    Check the validity of the DataSink specification.

    Definition Classes
    TextFileSinkDataSink → Sink
  22. def outputConfigure(job: Job)(implicit sc: ScoobiConfiguration): Unit

    Configure the DataSink.

    Configure the DataSink.

    Definition Classes
    TextFileSinkDataSink → Sink
  23. lazy val outputConverter: OutputConverter[NullWritable, A, A]

    Maps the type consumed by this DataSink to the key-values of its OutputFormat.

    Maps the type consumed by this DataSink to the key-values of its OutputFormat.

    Definition Classes
    TextFileSinkDataSink → Sink
  24. def outputFormat(implicit sc: ScoobiConfiguration): Class[_ <: OutputFormat[NullWritable, A]]

    The OutputFormat specifying the type of output for this DataSink.

    The OutputFormat specifying the type of output for this DataSink.

    Definition Classes
    TextFileSinkDataSink → Sink
  25. def outputKeyClass(implicit sc: ScoobiConfiguration): Class[NullWritable]

    The Class of the OutputFormat's key.

    The Class of the OutputFormat's key.

    Definition Classes
    TextFileSinkDataSink → Sink
  26. def outputPath(implicit sc: ScoobiConfiguration): Some[Path]

    returns

    the path for this Sink.

    Definition Classes
    TextFileSink → Sink
  27. def outputSetup(implicit sc: ScoobiConfiguration): Unit

    This method is called just before writing data to the sink

    This method is called just before writing data to the sink

    Definition Classes
    TextFileSinkDataSink → Sink
  28. def outputTeardown(implicit sc: ScoobiConfiguration): Unit

    This method is called just after writing data to the sink

    This method is called just after writing data to the sink

    Definition Classes
    DataSink → Sink
  29. def outputValueClass(implicit sc: ScoobiConfiguration): Class[A]

    The Class of the OutputFormat's value.

    The Class of the OutputFormat's value.

    Definition Classes
    TextFileSinkDataSink → Sink
  30. val overwrite: Boolean

  31. val path: String

  32. lazy val stringId: String

    unique id for this Sink, as a string.

    unique id for this Sink, as a string. Can be used to create a file path

    Definition Classes
    DataSink → Sink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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 DataSink[NullWritable, A, A]

Inherited from Sink

Inherited from AnyRef

Inherited from Any

Ungrouped