Class LanceScan

java.lang.Object
com.lancedb.lance.spark.read.LanceScan
All Implemented Interfaces:
Serializable, org.apache.spark.sql.connector.read.Batch, org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.connector.read.SupportsReportStatistics, org.apache.spark.sql.internal.connector.SupportsMetadata

public class LanceScan extends Object implements org.apache.spark.sql.connector.read.Batch, org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.internal.connector.SupportsMetadata, org.apache.spark.sql.connector.read.SupportsReportStatistics, Serializable
See Also:
  • Constructor Details

  • Method Details

    • toBatch

      public org.apache.spark.sql.connector.read.Batch toBatch()
      Specified by:
      toBatch in interface org.apache.spark.sql.connector.read.Scan
    • planInputPartitions

      public org.apache.spark.sql.connector.read.InputPartition[] planInputPartitions()
      Specified by:
      planInputPartitions in interface org.apache.spark.sql.connector.read.Batch
    • createReaderFactory

      public org.apache.spark.sql.connector.read.PartitionReaderFactory createReaderFactory()
      Specified by:
      createReaderFactory in interface org.apache.spark.sql.connector.read.Batch
    • readSchema

      public org.apache.spark.sql.types.StructType readSchema()
      Specified by:
      readSchema in interface org.apache.spark.sql.connector.read.Scan
    • getMetaData

      public scala.collection.immutable.Map<String,String> getMetaData()
      Specified by:
      getMetaData in interface org.apache.spark.sql.internal.connector.SupportsMetadata
    • estimateStatistics

      public org.apache.spark.sql.connector.read.Statistics estimateStatistics()
      Specified by:
      estimateStatistics in interface org.apache.spark.sql.connector.read.SupportsReportStatistics