private RowMapper<?> rowMapperFor(Type type) throws SQLException {
        if (rowMappers.containsKey(type)) {
            return rowMappers.get(type);
        }

        RowMapper<?> mapper = ctx.findRowMapperFor(type)
                .orElseThrow(() -> new NoSuchMapperException("No row mapper registered for " + type))
                .specialize(rs, ctx);
        rowMappers.put(type, mapper);

        return mapper;
    }
Use a row mapper to extract a type from the current ResultSet row.
@param type the type to map
@return the materialized object
core/src/main/java/org/jdbi/v3/core/result/internal/RowViewImpl.java