Interface OrcRowWriter<T>

    • Method Detail

      • write

        void write​(T row,
                   org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
            throws java.io.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:
        java.io.IOException - if there's any IO error while writing the data value.
      • metrics

        default java.util.stream.Stream<FieldMetrics<?>> metrics()
        Returns a stream of FieldMetrics that this OrcRowWriter keeps track of.