@Evolving public interface SupportsDelete
Tabledelete support. Data sources can implement this interface to provide the ability to delete data from tables that matches filter expressions.
void deleteWhere(Filter filters)
Rows are deleted 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.
Implementations may reject a delete operation if the delete isn't possible without significant
effort. For example, partitioned data sources may reject deletes that do not filter by
partition columns because the filter may require rewriting files without deleted records.
To reject a delete implementations should throw
IllegalArgumentException with a clear
error message that identifies which expression was rejected.
filters- filter expressions, used to select rows to delete when all expressions match
IllegalArgumentException- If the delete is rejected due to required effort