Package org.apache.iceberg.parquet
Class ParquetValueReaders.ListReader<E>
- java.lang.Object
-
- org.apache.iceberg.parquet.ParquetValueReaders.RepeatedReader<java.util.List<E>,java.util.List<E>,E>
-
- org.apache.iceberg.parquet.ParquetValueReaders.ListReader<E>
-
- All Implemented Interfaces:
ParquetValueReader<java.util.List<E>>
- Enclosing class:
- ParquetValueReaders
public static class ParquetValueReaders.ListReader<E> extends ParquetValueReaders.RepeatedReader<java.util.List<E>,java.util.List<E>,E>
-
-
Constructor Summary
Constructors Constructor Description ListReader(int definitionLevel, int repetitionLevel, ParquetValueReader<E> reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addElement(java.util.List<E> list, E element)
protected java.util.List<E>
buildList(java.util.List<E> list)
protected E
getElement(java.util.List<E> reuse)
protected java.util.List<E>
newListData(java.util.List<E> reuse)
-
Methods inherited from class org.apache.iceberg.parquet.ParquetValueReaders.RepeatedReader
column, columns, read, setPageSource
-
-
-
-
Constructor Detail
-
ListReader
public ListReader(int definitionLevel, int repetitionLevel, ParquetValueReader<E> reader)
-
-
Method Detail
-
newListData
protected java.util.List<E> newListData(java.util.List<E> reuse)
- Specified by:
newListData
in classParquetValueReaders.RepeatedReader<java.util.List<E>,java.util.List<E>,E>
-
getElement
protected E getElement(java.util.List<E> reuse)
- Specified by:
getElement
in classParquetValueReaders.RepeatedReader<java.util.List<E>,java.util.List<E>,E>
-
addElement
protected void addElement(java.util.List<E> list, E element)
- Specified by:
addElement
in classParquetValueReaders.RepeatedReader<java.util.List<E>,java.util.List<E>,E>
-
-