public abstract static class GenericOrcWriters.StructWriter<S> extends java.lang.Object implements OrcValueWriter<S>
Modifier | Constructor and Description |
---|---|
protected |
StructWriter(java.util.List<OrcValueWriter<?>> writers) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Object |
get(S struct,
int index) |
java.util.stream.Stream<FieldMetrics<?>> |
metrics()
Returns a stream of
FieldMetrics that this OrcValueWriter keeps track of. |
void |
nonNullWrite(int rowId,
S value,
org.apache.orc.storage.ql.exec.vector.ColumnVector output) |
void |
writeRow(S value,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output) |
java.util.List<OrcValueWriter<?>> |
writers() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nullWrite, write
protected StructWriter(java.util.List<OrcValueWriter<?>> writers)
public java.util.List<OrcValueWriter<?>> writers()
public java.util.stream.Stream<FieldMetrics<?>> metrics()
OrcValueWriter
FieldMetrics
that this OrcValueWriter keeps track of.metrics
in interface OrcValueWriter<S>
public void nonNullWrite(int rowId, S value, org.apache.orc.storage.ql.exec.vector.ColumnVector output)
nonNullWrite
in interface OrcValueWriter<S>
public void writeRow(S value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
protected abstract java.lang.Object get(S struct, int index)