public interface OrcRowWriter<T>
Modifier and Type | Method and Description |
---|---|
default java.util.stream.Stream<FieldMetrics<?>> |
metrics()
Returns a stream of
FieldMetrics that this OrcRowWriter keeps track of. |
void |
write(T row,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
Writes or appends a row to ORC's VectorizedRowBatch.
|
java.util.List<OrcValueWriter<?>> |
writers() |
void write(T row, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output) throws java.io.IOException
row
- the row data value to write.output
- the VectorizedRowBatch to which the output will be written.java.io.IOException
- if there's any IO error while writing the data value.java.util.List<OrcValueWriter<?>> writers()
default java.util.stream.Stream<FieldMetrics<?>> metrics()
FieldMetrics
that this OrcRowWriter keeps track of.