Class SparkRewriteBuilder

  • All Implemented Interfaces:
    org.apache.spark.sql.connector.write.WriteBuilder

    public class SparkRewriteBuilder
    extends java.lang.Object
    implements org.apache.spark.sql.connector.write.WriteBuilder
    • Constructor Summary

      Constructors 
      Constructor Description
      SparkRewriteBuilder​(org.apache.spark.sql.SparkSession spark, Table table, org.apache.spark.sql.connector.write.LogicalWriteInfo info)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.spark.sql.connector.write.BatchWrite buildForBatch()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.spark.sql.connector.write.WriteBuilder

        buildForStreaming
    • Constructor Detail

      • SparkRewriteBuilder

        public SparkRewriteBuilder​(org.apache.spark.sql.SparkSession spark,
                                   Table table,
                                   org.apache.spark.sql.connector.write.LogicalWriteInfo info)
    • Method Detail

      • buildForBatch

        public org.apache.spark.sql.connector.write.BatchWrite buildForBatch()
        Specified by:
        buildForBatch in interface org.apache.spark.sql.connector.write.WriteBuilder