code: private RowSet prepareFromRow(List<Object> rows, RowSet rowSet) throws Exception {
      for (Object row : rows) {
        rowSet.addRow((Object[]) row);
      }
      return rowSet;
    }
docs: already encoded to thrift-able object in ThriftFormatter