Package org.apache.iceberg.avro
Class ValueReaders.StructReader<S>
java.lang.Object
org.apache.iceberg.avro.ValueReaders.StructReader<S>
- All Implemented Interfaces:
- SupportsRowPosition,- ValueReader<S>
- Enclosing class:
- ValueReaders
public abstract static class ValueReaders.StructReader<S>
extends Object
implements ValueReader<S>, SupportsRowPosition
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedStructReader(List<ValueReader<?>> readers, org.apache.avro.Schema schema) protectedStructReader(List<ValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract ObjectValueReader<?> reader(int pos) protected abstract SreuseOrCreate(Object reuse) protected abstract voidvoidsetRowPositionSupplier(Supplier<Long> posSupplier) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.avro.ValueReaderskip
- 
Constructor Details- 
StructReader
- 
StructReaderprotected StructReader(List<ValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) 
 
- 
- 
Method Details- 
setRowPositionSupplier- Specified by:
- setRowPositionSupplierin interface- SupportsRowPosition
 
- 
reuseOrCreate
- 
get
- 
set
- 
reader
- 
read- Specified by:
- readin interface- ValueReader<S>
- Throws:
- IOException
 
 
-