@Evolving public interface SupportsOverwrite extends SupportsOverwriteV2
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 | 
|---|---|
| default boolean | canOverwrite(Filter[] filters)Checks whether it is possible to overwrite data from a data source table that matches filter
 expressions. | 
| default boolean | canOverwrite(Predicate[] predicates)Checks whether it is possible to overwrite data from a data source table that matches filter
 expressions. | 
| WriteBuilder | overwrite(Filter[] filters)Configures a write to replace data matching the filters with data committed in the write. | 
| default WriteBuilder | overwrite(Predicate[] predicates)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. | 
build, buildForBatch, buildForStreamingdefault boolean canOverwrite(Filter[] filters)
Rows should be overwritten from the data source iff all of the filter expressions match. That is, the expressions must be interpreted as a set of filters that are ANDed together.
filters - V2 filter expressions, used to match data to overwriteWriteBuilder 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 boolean canOverwrite(Predicate[] predicates)
SupportsOverwriteV2Rows should be overwritten from the data source iff all of the filter expressions match. That is, the expressions must be interpreted as a set of filters that are ANDed together.
canOverwrite in interface SupportsOverwriteV2predicates - V2 filter expressions, used to match data to overwritedefault WriteBuilder overwrite(Predicate[] predicates)
SupportsOverwriteV2Rows 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.
overwrite in interface SupportsOverwriteV2predicates - filters used to match data to overwritedefault WriteBuilder truncate()
SupportsTruncatetruncate in interface SupportsOverwriteV2truncate in interface SupportsTruncate