public class VectorizedTableScanIterable extends org.apache.iceberg.io.CloseableGroup implements org.apache.iceberg.io.CloseableIterable<ColumnarBatch>
ArrowReader for details.| Constructor and Description |
|---|
VectorizedTableScanIterable(org.apache.iceberg.TableScan scan)
Create a new instance using default values for
batchSize and reuseContainers. |
VectorizedTableScanIterable(org.apache.iceberg.TableScan scan,
int batchSize,
boolean reuseContainers)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.iceberg.io.CloseableIterator<ColumnarBatch> |
iterator() |
addCloseable, addCloseable, setSuppressCloseFailureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic VectorizedTableScanIterable(org.apache.iceberg.TableScan scan)
batchSize and reuseContainers.
The batchSize is set to BATCH_SIZE_IN_NUM_ROWS and reuseContainers is
set to false.public VectorizedTableScanIterable(org.apache.iceberg.TableScan scan,
int batchSize,
boolean reuseContainers)
See ArrowReader(TableScan, int, boolean) for details.
public org.apache.iceberg.io.CloseableIterator<ColumnarBatch> iterator()
iterator in interface java.lang.Iterable<ColumnarBatch>iterator in interface org.apache.iceberg.io.CloseableIterable<ColumnarBatch>public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.iceberg.io.CloseableGroupjava.io.IOException