Interface SupportsRowLevelOperations

  • All Superinterfaces:
    All Known Implementing Classes:
    SparkTable, StagedSparkTable

    public interface SupportsRowLevelOperations
    extends org.apache.spark.sql.connector.catalog.Table
    A mix-in interface for row-level operations support. Data sources can implement this interface to indicate they support rewriting data for DELETE, UPDATE, MERGE operations.
    • Method Detail

      • newRowLevelOperationBuilder

        RowLevelOperationBuilder newRowLevelOperationBuilder​(RowLevelOperationInfo info)
        Returns a RowLevelOperationBuilder to build a RowLevelOperation. Spark will call this method while planning DELETE, UPDATE and MERGE operations.
        info - the row-level operation info such command (e.g. DELETE) and options
        the row-level operation builder