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 Summary
ModifierConstructorDescriptionprotected
StructReader
(List<ValueReader<?>> readers, org.apache.avro.Schema schema) protected
StructReader
(List<ValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Object
ValueReader
<?> reader
(int pos) protected abstract S
reuseOrCreate
(Object reuse) protected abstract void
void
setRowPositionSupplier
(Supplier<Long> posSupplier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.iceberg.avro.ValueReader
skip
-
Constructor Details
-
StructReader
-
StructReader
protected StructReader(List<ValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant)
-
-
Method Details
-
setRowPositionSupplier
- Specified by:
setRowPositionSupplier
in interfaceSupportsRowPosition
-
reuseOrCreate
-
get
-
set
-
reader
-
read
- Specified by:
read
in interfaceValueReader<S>
- Throws:
IOException
-