Package org.apache.iceberg.parquet
Class ParquetReader<T>
java.lang.Object
org.apache.iceberg.io.CloseableGroup
org.apache.iceberg.parquet.ParquetReader<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<T>
,CloseableIterable<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterable
CloseableIterable.ConcatCloseableIterable<E>
-
Constructor Summary
ConstructorDescriptionParquetReader
(InputFile input, Schema expectedSchema, org.apache.parquet.ParquetReadOptions options, Function<org.apache.parquet.schema.MessageType, ParquetValueReader<?>> readerFunc, NameMapping nameMapping, Expression filter, boolean reuseContainers, boolean caseSensitive) -
Method Summary
Modifier and TypeMethodDescriptioniterator()
Returns a closeable iterator over elements of typeT
.Methods inherited from class org.apache.iceberg.io.CloseableGroup
addCloseable, addCloseable, close, setSuppressCloseFailure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ParquetReader
public ParquetReader(InputFile input, Schema expectedSchema, org.apache.parquet.ParquetReadOptions options, Function<org.apache.parquet.schema.MessageType, ParquetValueReader<?>> readerFunc, NameMapping nameMapping, Expression filter, boolean reuseContainers, boolean caseSensitive)
-
-
Method Details
-
iterator
Description copied from interface:CloseableIterable
Returns a closeable iterator over elements of typeT
.- Specified by:
iterator
in interfaceCloseableIterable<T>
- Specified by:
iterator
in interfaceIterable<T>
- Returns:
- an
CloseableIterator
.
-