DataWriter¶
DataWriter
is an abstraction of data writers (of data of type T
).
Contract¶
Aborting Write¶
void abort()
See:
Used when:
FileFormatWriter
utility is used to executeTaskDataWritingSparkTask
utility is used to process a partitionContinuousWriteRDD
(Spark Structured Streaming) is requested tocompute
a partition
Committing Successful Write¶
WriterCommitMessage commit()
See:
Used when:
DataWritingSparkTask
utility is used to process a partitionContinuousWriteRDD
(Spark Structured Streaming) is requested tocompute
a partition
currentMetricsValues¶
CustomTaskMetric[] currentMetricsValues()
See:
Used when:
FileFormatWriter
utility is used to executeTaskDataWritingSparkTask
utility is used to process a partitionContinuousWriteRDD
(Spark Structured Streaming) is requested tocompute
a partition
Writing Out Record¶
void write(
T record)
See:
Used when:
DataWritingSparkTask
is requested to write a record outContinuousWriteRDD
(Spark Structured Streaming) is requested tocompute
a partition