@Evolving public interface SupportsOverwrite extends WriteBuilder, SupportsTruncate
Overwriting data by filter will delete any data that matches the filter and replace it with data that is committed in the write.
| Modifier and Type | Method and Description |
|---|---|
WriteBuilder |
overwrite(Filter[] filters)
Configures a write to replace data matching the filters with data committed in the write.
|
default WriteBuilder |
truncate()
Configures a write to replace all existing data with data committed in the write.
|
buildForBatch, buildForStreamingWriteBuilder overwrite(Filter[] filters)
Rows must be deleted from the data source if and only if all of the filters match. That is, filters must be interpreted as ANDed together.
filters - filters used to match data to overwritedefault WriteBuilder truncate()
SupportsTruncatetruncate in interface SupportsTruncate