Class VectorizedParquetReader<T>

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<T>, org.apache.iceberg.io.CloseableIterable<T>

    public class VectorizedParquetReader<T>
    extends org.apache.iceberg.io.CloseableGroup
    implements org.apache.iceberg.io.CloseableIterable<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterable

        org.apache.iceberg.io.CloseableIterable.ConcatCloseableIterable<E extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      VectorizedParquetReader​(org.apache.iceberg.io.InputFile input, org.apache.iceberg.Schema expectedSchema, org.apache.parquet.ParquetReadOptions options, java.util.function.Function<org.apache.parquet.schema.MessageType,​VectorizedReader<?>> readerFunc, org.apache.iceberg.mapping.NameMapping nameMapping, org.apache.iceberg.expressions.Expression filter, boolean reuseContainers, boolean caseSensitive, int maxRecordsPerBatch)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.iceberg.io.CloseableIterator<T> iterator()  
      • 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.io.Closeable

        close
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • VectorizedParquetReader

        public VectorizedParquetReader​(org.apache.iceberg.io.InputFile input,
                                       org.apache.iceberg.Schema expectedSchema,
                                       org.apache.parquet.ParquetReadOptions options,
                                       java.util.function.Function<org.apache.parquet.schema.MessageType,​VectorizedReader<?>> readerFunc,
                                       org.apache.iceberg.mapping.NameMapping nameMapping,
                                       org.apache.iceberg.expressions.Expression filter,
                                       boolean reuseContainers,
                                       boolean caseSensitive,
                                       int maxRecordsPerBatch)
    • Method Detail

      • iterator

        public org.apache.iceberg.io.CloseableIterator<T> iterator()
        Specified by:
        iterator in interface org.apache.iceberg.io.CloseableIterable<T>
        Specified by:
        iterator in interface java.lang.Iterable<T>