case class PostWriteState[T](processedData: T, modifiedPartitions: Map[Path, Long], flush: (Path) => Unit) extends Product with Serializable
Represent the state of writer after processing of processedData.
- T
type of input data
- processedData
Processed input element
- modifiedPartitions
State of partitions that has been written in effect of processing the element T. More than one partition can be modified due to preWriteTransformation. The map contains values representing total number of writes to a single file (number of writes to the partition after last rotation).
- flush
Flushes all writes to given partition and rotates the file.
- Alphabetic
- By Inheritance
- PostWriteState
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PostWriteState(processedData: T, modifiedPartitions: Map[Path, Long], flush: (Path) => Unit)
- processedData
Processed input element
- modifiedPartitions
State of partitions that has been written in effect of processing the element T. More than one partition can be modified due to preWriteTransformation. The map contains values representing total number of writes to a single file (number of writes to the partition after last rotation).
- flush
Flushes all writes to given partition and rotates the file.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flush: (Path) => Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val modifiedPartitions: Map[Path, Long]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val processedData: T
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()