@Test
public void testSetInt() throws IOException {

  ColumnType[] types = {
    STRING, STRING, INTEGER, INTEGER, INTEGER,
    INTEGER, DOUBLE, DOUBLE, DOUBLE, INTEGER,
    INTEGER, INTEGER, INTEGER, DOUBLE, DOUBLE
  };
  Table table =
      Table.read()
          .csv(CsvReadOptions.builder(new File("../data/baseball.csv")).columnTypes(types));
  Row row = new Row(table);
  while (row.hasNext()) {
    row.next();
    int rowVal = table.intColumn("RS").getInt(row.getRowNumber());
    // setDouble(columnIndex, value)
    row.setInt(3, rowVal + 1);
    assertEquals(rowVal + 1, row.getInt(3));
    // setDouble(columnName, value)
    row.setInt("RS", rowVal + 2);
    assertEquals(rowVal + 2, row.getInt("RS"));
  }
}