@Override
    public <T> BatchResultIterable<T> mapTo(Class<T> type) {
        return BatchResultIterable.of(delegate.mapTo(type), modifiedRowCountsSupplier);
    }
Extends the {@link ResultBearing} class to provide access to the per-batch row modification counts.
core/src/main/java/org/jdbi/v3/core/result/BatchResultBearing.java