default <T> ResultIterable<T> mapTo(QualifiedType<T> type) {
        return scanResultSet((resultSetSupplier, ctx) -> {
            RowMapper<T> rowMapper = ctx.findMapperFor(type)
                    .orElseThrow(() -> new NoSuchMapperException("No mapper registered for type " + type));
            return ResultIterable.of(resultSetSupplier, rowMapper, ctx);
        });
    }
Maps this result set to a {@link ResultIterable} of the given qualified element type.

@param type the qualified type to map the result set rows to
@return a {@link ResultIterable} of the given type.
@see Configurable#registerRowMapper(RowMapper)
@see Configurable#registerRowMapper(org.jdbi.v3.core.mapper.RowMapperFactory)
@see Configurable#registerColumnMapper(org.jdbi.v3.core.mapper.ColumnMapperFactory)
@see Configurable#registerColumnMapper(ColumnMapper)
core/src/main/java/org/jdbi/v3/core/result/ResultBearing.java