bootiful-sqltemplate-core/src/main/java/ninja/cero/sqltemplate/core/stream/StreamResultSetExtractor.java
@Override
    public U extractData(ResultSet rs) {
        Iterable<T> iterable = () -> new ResultSetIterator(sql, rs, mapper, excTranslator);
        Stream<T> stream = StreamSupport.stream(iterable.spliterator(), false);
        return handleStream.apply(stream);
    }
@Override
    public U extractData(ResultSet rs) {
        Iterable<T> iterable = () -> new ResultSetIterator(sql, rs, mapper, excTranslator);
        Stream<T> stream = StreamSupport.stream(iterable.spliterator(), false);
        return handleStream.apply(stream);
    }
Applies {@code handleStream} to the row stream converted from the ResultSet
to extract a result.

@param rs the ResultSet
@return the result of {@code handleStream}