public class LanceFragmentColumnarBatchScanner extends Object implements AutoCloseable
| Constructor and Description |
|---|
LanceFragmentColumnarBatchScanner(LanceFragmentScanner fragmentScanner,
org.apache.arrow.vector.ipc.ArrowReader arrowReader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static LanceFragmentColumnarBatchScanner |
create(int fragmentId,
LanceInputPartition inputPartition) |
org.apache.spark.sql.vectorized.ColumnarBatch |
getCurrentBatch() |
boolean |
loadNextBatch() |
public LanceFragmentColumnarBatchScanner(LanceFragmentScanner fragmentScanner, org.apache.arrow.vector.ipc.ArrowReader arrowReader)
public static LanceFragmentColumnarBatchScanner create(int fragmentId, LanceInputPartition inputPartition)
public boolean loadNextBatch()
throws IOException
IOExceptionpublic org.apache.spark.sql.vectorized.ColumnarBatch getCurrentBatch()
public void close()
throws IOException
close in interface AutoCloseableIOExceptionCopyright © 2025. All rights reserved.