com.nicta.scoobi.io.partition

PartitionedSink

case class PartitionedSink[P, K, V, B](subsink: DataSink[K, V, B], format: Class[_ <: PartitionedOutputFormat[P, K, V]], path: String, partition: (P) ⇒ String, overwrite: Boolean = false, check: (Path, Boolean, ScoobiConfiguration) ⇒ Unit = ..., compression: Option[Compression] = scala.None) extends DataSink[P, (K, V), (P, B)] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, DataSink[P, (K, V), (P, B)], Sink, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PartitionedSink
  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 PartitionedSink(subsink: DataSink[K, V, B], format: Class[_ <: PartitionedOutputFormat[P, K, V]], path: String, partition: (P) ⇒ String, overwrite: Boolean = false, check: (Path, Boolean, ScoobiConfiguration) ⇒ Unit = ..., compression: Option[Compression] = scala.None)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val check: (Path, Boolean, ScoobiConfiguration) ⇒ Unit

  8. def clone(): AnyRef

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

    returns

    a new sink with Gzip compression enabled

    Definition Classes
    Sink
  10. def compressWith(codec: CompressionCodec, compressionType: CompressionType = CompressionType.BLOCK): PartitionedSink[P, K, V, B]

    returns

    a new sink with compression enabled

    Definition Classes
    PartitionedSink → Sink
  11. val compression: Option[Compression]

    returns

    a compression object if this sink is compressed

    Definition Classes
    PartitionedSinkDataSink
  12. def configureCompression(configuration: Configuration): DataSink[P, (K, V), (P, B)]

    configure the compression for a given job

    configure the compression for a given job

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val format: Class[_ <: PartitionedOutputFormat[P, K, V]]

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

    Definition Classes
    AnyRef → Any
  17. val id: Int

    unique id for this Sink

    unique id for this Sink

    Definition Classes
    DataSink → Sink
  18. def isCompressed: Boolean

    returns

    true if this Sink is compressed

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

    Definition Classes
    Any
  20. 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
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def outputCheck(implicit sc: ScoobiConfiguration): Unit

    Check the validity of the DataSink specification.

    Check the validity of the DataSink specification.

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

    Configure the DataSink.

    Configure the DataSink.

    Definition Classes
    PartitionedSinkDataSink → Sink
  26. lazy val outputConverter: OutputConverter[P, (K, V), (P, B)]

    Definition Classes
    PartitionedSinkDataSink → Sink
  27. def outputFormat(implicit sc: ScoobiConfiguration): Class[_ <: PartitionedOutputFormat[P, K, V]]

    The OutputFormat specifying the type of output for this DataSink.

    The OutputFormat specifying the type of output for this DataSink.

    Definition Classes
    PartitionedSinkDataSink → Sink
  28. def outputKeyClass(implicit sc: ScoobiConfiguration): Class[P]

    The Class of the OutputFormat's key.

    The Class of the OutputFormat's key.

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

    returns

    the path for this Sink.

    Definition Classes
    PartitionedSink → Sink
  30. 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
    PartitionedSinkDataSink → Sink
  31. 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
  32. def outputValueClass(implicit sc: ScoobiConfiguration): Class[(K, V)]

    The Class of the OutputFormat's value.

    The Class of the OutputFormat's value.

    Definition Classes
    PartitionedSinkDataSink → Sink
  33. val overwrite: Boolean

  34. val partition: (P) ⇒ String

  35. val path: String

  36. lazy val stringId: String

    Definition Classes
    DataSink → Sink
  37. val subsink: DataSink[K, V, B]

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

    Definition Classes
    AnyRef
  39. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. 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[P, (K, V), (P, B)]

Inherited from Sink

Inherited from AnyRef

Inherited from Any

Ungrouped