Package org.apache.iceberg.orc
Interface OrcValueWriter<T>
- All Known Implementing Classes:
GenericOrcWriters.StructWriter
public interface OrcValueWriter<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<FieldMetrics<?>>
metrics()
Returns a stream ofFieldMetrics
that this OrcValueWriter keeps track of.void
nonNullWrite
(int rowId, T data, org.apache.orc.storage.ql.exec.vector.ColumnVector output) default void
default void
Take a value from the data value and add it to the ORC output.
-
Method Details
-
write
Take a value from the data value and add it to the ORC output.- Parameters:
rowId
- the row in the ColumnVectordata
- the data value to write.output
- the ColumnVector to put the value into
-
nonNullWrite
-
nullWrite
default void nullWrite() -
metrics
Returns a stream ofFieldMetrics
that this OrcValueWriter keeps track of.
-