@Experimental public interface SupportsDelta extends RowLevelOperation
RowLevelOperation
. Data sources can implement this interface
to indicate they support handling deltas of rows.RowLevelOperation.Command
Modifier and Type | Method and Description |
---|---|
DeltaWriteBuilder |
newWriteBuilder(LogicalWriteInfo info)
Returns a
WriteBuilder to configure a Write for this row-level operation. |
NamedReference[] |
rowId()
Returns the row ID column references that should be used for row equality.
|
command, description, newScanBuilder, requiredMetadataAttributes
DeltaWriteBuilder newWriteBuilder(LogicalWriteInfo info)
RowLevelOperation
WriteBuilder
to configure a Write
for this row-level operation.
Note that Spark will first configure the scan and then the write, allowing data sources to pass information from the scan to the write. For example, the scan can report which condition was used to read the data that may be needed by the write under certain isolation levels. Implementations may capture the built scan or required scan information and then use it while building the write.
newWriteBuilder
in interface RowLevelOperation
NamedReference[] rowId()