Package org.apache.iceberg.parquet
Class ParquetValueReaders.StructReader<T,I> 
java.lang.Object
org.apache.iceberg.parquet.ParquetValueReaders.StructReader<T,I> 
- All Implemented Interfaces:
- ParquetValueReader<T>
- Enclosing class:
- ParquetValueReaders
public abstract static class ParquetValueReaders.StructReader<T,I> 
extends Object
implements ParquetValueReader<T>
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedStructReader(List<ParquetValueReader<?>> readers) protectedStructReader(List<org.apache.parquet.schema.Type> types, List<ParquetValueReader<?>> readers) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract TbuildStruct(I struct) final org.apache.iceberg.parquet.TripleIterator<?>column()List<org.apache.iceberg.parquet.TripleIterator<?>>columns()protected abstract Objectprotected abstract InewStructData(T reuse) final Tprotected abstract voidUsed to set a struct value by position.protected voidsetBoolean(I struct, int pos, boolean value) protected voidprotected voidprotected voidsetInteger(I struct, int pos, int value) protected voidprotected voidfinal voidsetPageSource(org.apache.parquet.column.page.PageReadStore pageStore) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.parquet.ParquetValueReadersetPageSource
- 
Constructor Details- 
StructReader@Deprecated protected StructReader(List<org.apache.parquet.schema.Type> types, List<ParquetValueReader<?>> readers) Deprecated.will be removed in 1.9.0; useStructReader(List)instead.
- 
StructReader
 
- 
- 
Method Details- 
setPageSourcepublic final void setPageSource(org.apache.parquet.column.page.PageReadStore pageStore) - Specified by:
- setPageSourcein interface- ParquetValueReader<T>
 
- 
columnpublic final org.apache.iceberg.parquet.TripleIterator<?> column()- Specified by:
- columnin interface- ParquetValueReader<T>
 
- 
read- Specified by:
- readin interface- ParquetValueReader<T>
 
- 
columns- Specified by:
- columnsin interface- ParquetValueReader<T>
 
- 
newStructData
- 
getField
- 
buildStruct
- 
setUsed to set a struct value by position.To avoid boxing, override setInteger(Object, int, int)and similar methods.- Parameters:
- struct- a struct object created by- newStructData(Object)
- pos- the position in the struct to set
- value- the value to set
 
- 
setNull
- 
setBoolean
- 
setInteger
- 
setLong
- 
setFloat
- 
setDouble
 
- 
StructReader(List)instead.