private <T, U> U queryStreamWithNamedParams(
            String sql,
            SqlParameterSource sps,
            RowMapper<T> mapper,
            Function<? super Stream<T>, U> handleStream) {
        SQLExceptionTranslator excTranslator = jdbcTemplate.getExceptionTranslator();
        ResultSetExtractor<U> extractor
            = new StreamResultSetExtractor(sql, mapper, handleStream, excTranslator);
        return namedJdbcTemplate.query(sql, sps, extractor);
    }
private <T, U> U queryStreamWithNamedParams(
            String sql,
            SqlParameterSource sps,
            RowMapper<T> mapper,
            Function<? super Stream<T>, U> handleStream) {
        SQLExceptionTranslator excTranslator = jdbcTemplate.getExceptionTranslator();
        ResultSetExtractor<U> extractor
            = new StreamResultSetExtractor(sql, mapper, handleStream, excTranslator);
        return namedJdbcTemplate.query(sql, sps, extractor);
    }
private < T , U > U queryStreamWithNamedParams ( String sql , SqlParameterSource sps , RowMapper < T > mapper , Function < ? super Stream < T > , U > handleStream ) { SQLExceptionTranslator excTranslator = jdbcTemplate . getExceptionTranslator ( ) ; ResultSetExtractor < U > extractor = new StreamResultSetExtractor ( sql , mapper , handleStream , excTranslator ) ; return namedJdbcTemplate . query ( sql , sps , extractor ) ; }
Executes a query for stream with named parameters.
Executes a query for stream with named parameters .