public abstract static class ValueWriters.StructWriter<S> extends java.lang.Object implements ValueWriter<S>
Modifier | Constructor and Description |
---|---|
protected |
StructWriter(java.util.List<ValueWriter<?>> writers) |
Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
metrics
protected StructWriter(java.util.List<ValueWriter<?>> writers)
protected abstract java.lang.Object get(S struct, int pos)
public ValueWriter<?> writer(int pos)
public void write(S row, org.apache.avro.io.Encoder encoder) throws java.io.IOException
write
in interface ValueWriter<S>
java.io.IOException