@SuppressWarnings("unchecked")
    default <R> R collectInto(GenericType<R> containerType) {
        return (R) collectInto(containerType.getType());
    }
Collect the results into a container of the given generic type. A collector
must be registered for the container type, which knows the element type
for the container. A mapper must be registered for the element type.
<p>
This method is equivalent to {@code ResultBearing.mapTo(elementType).collect(containerCollector)}.
</p>
<p>
Example:
</p>
<pre>
Map&lt;Long, User&gt; usersById = handle.createQuery("select * from user")
    .configure(MapEntryMappers.class, cfg -&gt; cfg.setKeyColumn("id"))
    .collectInto(new GenericType&lt;Map&lt;Long, User&gt;&gt;() {});
</pre>

@param containerType the container type into which results will be collected
@param <R>           the result container type
@return a container into which result rows have been collected
core/src/main/java/org/jdbi/v3/core/result/ResultBearing.java