Class GenericOrcWriter

    • Method Detail

      • buildWriter

        public static OrcRowWriter<Record> buildWriter​(Schema expectedSchema,
                                                       org.apache.orc.TypeDescription fileSchema)
      • write

        public void write​(Record value,
                          org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
        Description copied from interface: OrcRowWriter
        Writes or appends a row to ORC's VectorizedRowBatch.
        Specified by:
        write in interface OrcRowWriter<Record>
        Parameters:
        value - the row data value to write.
        output - the VectorizedRowBatch to which the output will be written.