PostWriteState

com.github.mjakubowski84.parquet4s.parquet.rotatingWriter.PostWriteState
case class PostWriteState[F[_], T](processedData: Chunk[T], modifiedPartitions: Map[Path, Long], flush: Path => F[Unit])

Represent the state of writer after processing of processedData.

Type parameters

F

effect type

T

type of input data

Value parameters

flush

Flushes all writes to given partition and rotates the file.

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).

processedData

Processed input element

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product