Class LanceColumnarPartitionReader

java.lang.Object
com.lancedb.lance.spark.read.LanceColumnarPartitionReader
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.vectorized.ColumnarBatch>

public class LanceColumnarPartitionReader extends Object implements org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.vectorized.ColumnarBatch>
  • Constructor Details

    • LanceColumnarPartitionReader

      public LanceColumnarPartitionReader(LanceInputPartition inputPartition)
  • Method Details

    • next

      public boolean next() throws IOException
      Specified by:
      next in interface org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.vectorized.ColumnarBatch>
      Throws:
      IOException
    • get

      public org.apache.spark.sql.vectorized.ColumnarBatch get()
      Specified by:
      get in interface org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.vectorized.ColumnarBatch>
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException