Class LanceFragmentScanner

java.lang.Object
com.lancedb.lance.spark.internal.LanceFragmentScanner
All Implemented Interfaces:
AutoCloseable

public class LanceFragmentScanner extends Object implements AutoCloseable
  • Method Details

    • create

      public static LanceFragmentScanner create(int fragmentId, LanceInputPartition inputPartition)
    • getArrowReader

      public org.apache.arrow.vector.ipc.ArrowReader getArrowReader()
      Returns:
      the arrow reader. The caller is responsible for closing the reader
    • close

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

      public int fragmentId()
    • withFragemtId

      public boolean withFragemtId()
    • getInputPartition

      public LanceInputPartition getInputPartition()