Skip to content

StreamingDataWriterFactory

StreamingDataWriterFactory is an abstraction of factories to create a DataWriter.

Contract

Creating DataWriter

DataWriter<InternalRow> createWriter(
  int partitionId,
  long taskId,
  long epochId)

Creates a DataWriter (Spark SQL)

Used when:

Implementations

  • ForeachWriterFactory
  • KafkaStreamWriterFactory
  • MemoryWriterFactory
  • NoopStreamingDataWriterFactory
  • PackedRowWriterFactory