Package org.apache.spark.sql.connector.write
package org.apache.spark.sql.connector.write
-
ClassDescriptionAn interface that defines how to write the data to data source for batch processing.DataWriter<T>A data writer returned by
DataWriterFactory.createWriter(int, long)
and is responsible for writing data for an input RDD partition.A factory ofDataWriter
returned byBatchWrite.createBatchWriterFactory(PhysicalWriteInfo)
, which is responsible for creating and initializing the actual data writer at executor side.An interface that defines how to write a delta of rows during batch processing.A logical representation of a data source write that handles a delta of rows.An interface for building aDeltaWrite
.DeltaWriter<T>A data writer returned byDeltaWriterFactory.createWriter(int, long)
and is responsible for writing a delta of rows.A factory for creatingDeltaWriter
s returned byDeltaBatchWrite.createBatchWriterFactory(PhysicalWriteInfo)
, which is responsible for creating and initializing writers at the executor side.This interface contains logical write information that data sources can use when generating aWriteBuilder
.This interface contains physical write information that data sources can use when generating aDataWriterFactory
or aStreamingDataWriterFactory
.A write that requires a specific distribution and ordering of data.A logical representation of a data source DELETE, UPDATE, or MERGE operation that requires rewriting data.A row-level SQL command.An interface for building aRowLevelOperation
.An interface with logical information for a row-level operation such as DELETE, UPDATE, MERGE.A mix-in interface forRowLevelOperation
.Write builder trait for tables that support dynamic partition overwrite.Write builder trait for tables that support overwrite by filter.Write builder trait for tables that support overwrite by filter.Write builder trait for tables that support truncation.A logical write that should be executed using V1 InsertableRelation interface.A logical representation of a data source write.An interface for building theWrite
.A commit message returned byDataWriter.commit()
and will be sent back to the driver side as the input parameter ofBatchWrite.commit(WriterCommitMessage[])
orStreamingWrite.commit(long, WriterCommitMessage[])
.