Package com.lancedb.lance.spark.internal
Class LanceFragmentScanner
java.lang.Object
com.lancedb.lance.spark.internal.LanceFragmentScanner
- All Implemented Interfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static LanceFragmentScannercreate(int fragmentId, LanceInputPartition inputPartition) intorg.apache.arrow.vector.ipc.ArrowReaderboolean
-
Method Details
-
create
-
getArrowReader
public org.apache.arrow.vector.ipc.ArrowReader getArrowReader()- Returns:
- the arrow reader. The caller is responsible for closing the reader
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
fragmentId
public int fragmentId() -
withFragemtId
public boolean withFragemtId() -
getInputPartition
-