Package org.apache.iceberg.orc
Interface OrcRowWriter<T>
- All Known Implementing Classes:
 FlinkOrcWriter,GenericOrcWriter,SparkOrcWriter
public interface OrcRowWriter<T>
Write data value of a schema.
- 
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<FieldMetrics<?>>metrics()Returns a stream ofFieldMetricsthat this OrcRowWriter keeps track of.voidWrites or appends a row to ORC's VectorizedRowBatch.List<OrcValueWriter<?>>writers() 
- 
Method Details
- 
write
void write(T row, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output) throws IOException Writes or appends a row to ORC's VectorizedRowBatch.- Parameters:
 row- the row data value to write.output- the VectorizedRowBatch to which the output will be written.- Throws:
 IOException- if there's any IO error while writing the data value.
 - 
writers
List<OrcValueWriter<?>> writers() - 
metrics
Returns a stream ofFieldMetricsthat this OrcRowWriter keeps track of. 
 -