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 protected
StructWriter(java.util.List<OrcValueWriter<?>> 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 index)
java.util.stream.Stream<FieldMetrics<?>>
metrics()
Returns a stream ofFieldMetrics
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()
-
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:OrcValueWriter
Returns a stream ofFieldMetrics
that this OrcValueWriter keeps track of.- Specified by:
metrics
in interfaceOrcValueWriter<S>
-
nonNullWrite
public void nonNullWrite(int rowId, S value, org.apache.orc.storage.ql.exec.vector.ColumnVector output)
- Specified by:
nonNullWrite
in 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)
-
-