code: public Map<String, Object> asMap() {
          Map<String, Object> map = new HashMap<>();
          Set<String> keys = columnNameToIdxMap.keySet();
          Iterator<String> iterator = keys.iterator();
          while (iterator.hasNext()) {
              String colum = iterator.next().toString();
              int index = columnNameToIdxMap.get(colum);
              map.put(colum, values[index]);
          }
          return map;
      }
docs: View row as a simple map.