public void populateRow(PartialRow row) {
    Schema schema = row.getSchema();
    for (int i = 0; i < schema.getColumnCount(); i++) {
      ColumnSchema col = schema.getColumnByIndex(i);
      if (isSet(col.getName())) {
        Object value = getValueObject(col.getName());
        row.addObject(i, value);
      }
    }
  }
A Writable representation of a Kudu Row.
The row may be either a PartialRow or a RowResult.
kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduWritable.java