Package org.apache.iceberg.parquet
Class VectorizedParquetReader<T>
- java.lang.Object
-
- org.apache.iceberg.io.CloseableGroup
-
- org.apache.iceberg.parquet.VectorizedParquetReader<T>
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Iterable<T>
,CloseableIterable<T>
public class VectorizedParquetReader<T> extends CloseableGroup implements CloseableIterable<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterable
CloseableIterable.ConcatCloseableIterable<E>
-
-
Constructor Summary
Constructors Constructor Description VectorizedParquetReader(InputFile input, Schema expectedSchema, org.apache.parquet.ParquetReadOptions options, java.util.function.Function<org.apache.parquet.schema.MessageType,VectorizedReader<?>> readerFunc, NameMapping nameMapping, Expression filter, boolean reuseContainers, boolean caseSensitive, int maxRecordsPerBatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseableIterator<T>
iterator()
Returns a closeable iterator over elements of typeT
.-
Methods inherited from class org.apache.iceberg.io.CloseableGroup
addCloseable, addCloseable, close, setSuppressCloseFailure
-
-
-
-
Constructor Detail
-
VectorizedParquetReader
public VectorizedParquetReader(InputFile input, Schema expectedSchema, org.apache.parquet.ParquetReadOptions options, java.util.function.Function<org.apache.parquet.schema.MessageType,VectorizedReader<?>> readerFunc, NameMapping nameMapping, Expression filter, boolean reuseContainers, boolean caseSensitive, int maxRecordsPerBatch)
-
-
Method Detail
-
iterator
public CloseableIterator<T> iterator()
Description copied from interface:CloseableIterable
Returns a closeable iterator over elements of typeT
.- Specified by:
iterator
in interfaceCloseableIterable<T>
- Specified by:
iterator
in interfacejava.lang.Iterable<T>
- Returns:
- an
CloseableIterator
.
-
-