Interface SupportsRowLevelOperations

  • All Superinterfaces:
    org.apache.spark.sql.connector.catalog.Table
    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.
        Parameters:
        info - the row-level operation info such command (e.g. DELETE) and options
        Returns:
        the row-level operation builder