writeRow(row, distinctCount);
rowCount.incrementAndGet();
}
protected void writeRow(InputRow row, int distinctCount) {
OutputRow outputRow = outputWriter.createRow();
for (InputColumn<?> col : columns) {
@SuppressWarnings("unchecked")
InputColumn<Object> objectCol = (InputColumn<Object>) col;
outputRow.setValue(objectCol, row.getValue(col));
}
outputRow.write();
}