com.nicta.scoobi.io.partition

PartitionedSink

Related Docs: object PartitionedSink | package partition

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: OutputCheck = Sink.defaultOutputCheck, compression: Option[Compression] = 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: OutputCheck = Sink.defaultOutputCheck, compression: Option[Compression] = None)

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): PartitionedSink[P, K, V, B]

    returns

    a new sink with compression enabled

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

    returns

    a compression object if this sink is compressed

    Definition Classes
    PartitionedSinkDataSink
  10. 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
  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. val format: Class[_ <: PartitionedOutputFormat[P, K, V]]

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

    Definition Classes
    AnyRef → Any
  15. val id: Int

    unique id for this Sink

    unique id for this Sink

    Definition Classes
    DataSink → Sink
  16. def isCompressed: Boolean

    returns

    true if this Sink is compressed

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

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

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

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

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

    Check the validity of the DataSink specification.

    Check the validity of the DataSink specification.

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

    Configure the DataSink.

    Configure the DataSink.

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

    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
    PartitionedSinkDataSink → Sink
  25. 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
  26. 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
  27. def outputPath(implicit sc: ScoobiConfiguration): Some[Path]

    returns

    the path for this Sink.

    Definition Classes
    PartitionedSink → Sink
  28. 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
  29. 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
  30. 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
  31. val overwrite: Boolean

  32. val partition: (P) ⇒ String

  33. val path: String

  34. 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
  35. val subsink: DataSink[K, V, B]

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

    Definition Classes
    AnyRef
  37. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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