Class SparkWrite

java.lang.Object
com.lancedb.lance.spark.write.SparkWrite
All Implemented Interfaces:
org.apache.spark.sql.connector.write.Write

public class SparkWrite extends Object implements org.apache.spark.sql.connector.write.Write
Spark write builder.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Task commit.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.spark.sql.connector.write.BatchWrite
     
    org.apache.spark.sql.connector.write.streaming.StreamingWrite
     

    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.Write

    description, supportedCustomMetrics
  • Method Details

    • toBatch

      public org.apache.spark.sql.connector.write.BatchWrite toBatch()
      Specified by:
      toBatch in interface org.apache.spark.sql.connector.write.Write
    • toStreaming

      public org.apache.spark.sql.connector.write.streaming.StreamingWrite toStreaming()
      Specified by:
      toStreaming in interface org.apache.spark.sql.connector.write.Write