writer.addRow(row.getRow());
}
@Override
public void write(Writable row) throws IOException {
OrcSerdeRow serdeRow = (OrcSerdeRow) row;
if (writer == null) {
writer = OrcFile.createWriter(fs, path, this.conf,
serdeRow.getInspector(), stripeSize, compress, compressionSize,
rowIndexStride);
}
writer.addRow(serdeRow.getRow());
}