default <T> ResultIterable<Map<String, T>> mapToMap(Class<T> valueType) {
        return scanResultSet((resultSetSupplier, ctx) ->
                ResultIterable.of(resultSetSupplier, GenericMapMapperFactory.getMapperForValueType(valueType, ctx.getConfig()), ctx));
    }
Maps this result set to a {@link Map} of {@link String} and the given value class.

@param <T> the value type
@param valueType the class to map the resultset columns to
@return a {@link Map} of String and the given type.
@see Configurable#registerColumnMapper(ColumnMapper)
core/src/main/java/org/jdbi/v3/core/result/ResultBearing.java