code: public Object mapRowToReturnType() {
          try {
          return Collections.unmodifiableMap(new ResultSetHashMap(_resultSet, _keys));
          } catch (SQLException e) {
             throw new ControlException("Exception while creating ResultSetHashMap.", e);
          }
      }
docs: Do the mapping.
  @return A Map.
  @throws ControlException on error.