Package org.apache.iceberg.data.orc
Class GenericOrcWriters.StructWriter<S>
- java.lang.Object
-
- org.apache.iceberg.data.orc.GenericOrcWriters.StructWriter<S>
-
- All Implemented Interfaces:
OrcValueWriter<S>
- Enclosing class:
- GenericOrcWriters
public abstract static class GenericOrcWriters.StructWriter<S> extends java.lang.Object implements OrcValueWriter<S>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStructWriter(java.util.List<OrcValueWriter<?>> writers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.Objectget(S struct, int index)java.util.stream.Stream<FieldMetrics<?>>metrics()Returns a stream ofFieldMetricsthat this OrcValueWriter keeps track of.voidnonNullWrite(int rowId, S value, org.apache.orc.storage.ql.exec.vector.ColumnVector output)voidwriteRow(S value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)java.util.List<OrcValueWriter<?>>writers()-
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.orc.OrcValueWriter
nullWrite, write
-
-
-
-
Constructor Detail
-
StructWriter
protected StructWriter(java.util.List<OrcValueWriter<?>> writers)
-
-
Method Detail
-
writers
public java.util.List<OrcValueWriter<?>> writers()
-
metrics
public java.util.stream.Stream<FieldMetrics<?>> metrics()
Description copied from interface:OrcValueWriterReturns a stream ofFieldMetricsthat this OrcValueWriter keeps track of.- Specified by:
metricsin interfaceOrcValueWriter<S>
-
nonNullWrite
public void nonNullWrite(int rowId, S value, org.apache.orc.storage.ql.exec.vector.ColumnVector output)- Specified by:
nonNullWritein interfaceOrcValueWriter<S>
-
writeRow
public void writeRow(S value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
-
get
protected abstract java.lang.Object get(S struct, int index)
-
-