Package org.apache.iceberg.spark.source
Class SparkPositionDeletesRewriteBuilder
java.lang.Object
org.apache.iceberg.spark.source.SparkPositionDeletesRewriteBuilder
- All Implemented Interfaces:
org.apache.spark.sql.connector.write.WriteBuilder
public class SparkPositionDeletesRewriteBuilder
extends Object
implements org.apache.spark.sql.connector.write.WriteBuilder
Builder class for rewrites of position delete files from Spark. Responsible for creating
SparkPositionDeletesRewrite
.
This class is meant to be used for an action to rewrite delete files. Hence, it makes an
assumption that all incoming deletes belong to the same partition, and that incoming dataset is
from ScanTaskSetManager
.
-
Method Details
-
build
public org.apache.spark.sql.connector.write.Write build()- Specified by:
build
in interfaceorg.apache.spark.sql.connector.write.WriteBuilder
-