Class VectorizedTableScanIterable
java.lang.Object
org.apache.iceberg.io.CloseableGroup
org.apache.iceberg.arrow.vectorized.VectorizedTableScanIterable
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Iterable<ColumnarBatch>,- CloseableIterable<ColumnarBatch>
public class VectorizedTableScanIterable
extends CloseableGroup
implements CloseableIterable<ColumnarBatch>
A vectorized implementation of the Iceberg reader that iterates over the table scan. See 
ArrowReader for details.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterableCloseableIterable.ConcatCloseableIterable<E>
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new instance using default values forbatchSizeandreuseContainers.VectorizedTableScanIterable(TableScan scan, int batchSize, boolean reuseContainers) Create a new instance.
- 
Method SummaryMethods inherited from class org.apache.iceberg.io.CloseableGroupaddCloseable, addCloseable, setSuppressCloseFailureMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
VectorizedTableScanIterableCreate a new instance using default values forbatchSizeandreuseContainers. ThebatchSizeis set toBATCH_SIZE_IN_NUM_ROWSandreuseContainersis set tofalse.
- 
VectorizedTableScanIterableCreate a new instance.See ArrowReader(TableScan, int, boolean)for details.
 
- 
- 
Method Details- 
iteratorDescription copied from interface:CloseableIterableReturns a closeable iterator over elements of typeT.- Specified by:
- iteratorin interface- CloseableIterable<ColumnarBatch>
- Specified by:
- iteratorin interface- Iterable<ColumnarBatch>
- Returns:
- an CloseableIterator.
 
- 
closeDescription copied from class:CloseableGroupClose all the registered resources. Close method of each resource will only be called once. Checked exception from AutoCloseable will be wrapped to runtime exception.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- CloseableGroup
- Throws:
- IOException
 
 
-