Package org.apache.iceberg.avro
Class ValueWriters.StructWriter<S>
- java.lang.Object
-
- org.apache.iceberg.avro.ValueWriters.StructWriter<S>
-
- All Implemented Interfaces:
ValueWriter<S>
- Enclosing class:
- ValueWriters
public abstract static class ValueWriters.StructWriter<S> extends java.lang.Object implements ValueWriter<S>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StructWriter(java.util.List<ValueWriter<?>> writers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.Object
get(S struct, int pos)
void
write(S row, org.apache.avro.io.Encoder encoder)
ValueWriter<?>
writer(int pos)
-
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.ValueWriter
metrics
-
-
-
-
Constructor Detail
-
StructWriter
protected StructWriter(java.util.List<ValueWriter<?>> writers)
-
-
Method Detail
-
get
protected abstract java.lang.Object get(S struct, int pos)
-
writer
public ValueWriter<?> writer(int pos)
-
write
public void write(S row, org.apache.avro.io.Encoder encoder) throws java.io.IOException
- Specified by:
write
in interfaceValueWriter<S>
- Throws:
java.io.IOException
-
-