Uses of Interface
org.jdbi.v3.core.result.ResultIterable
Package
Description
result
provides the streaming interface that reads rows from JDBC
and drives the mapper
and collector
processes to
produce results.-
Uses of ResultIterable in org.jdbi.v3.core.result
Modifier and TypeMethodDescriptiondefault ResultIterable<T>
Convenience method to filter theResultIterable
by applying the specifiedPredicate
.
This method has the look and feel ofStream.filter(Predicate)
without making use of streams.default <T> ResultIterable<T>
ResultBearing.map
(ColumnMapper<T> mapper) Maps this result set to aResultIterable
, using the given column mapper.default <T> ResultIterable<T>
Maps this result set to aResultIterable
, using the given row mapper.default <T> ResultIterable<T>
ResultBearing.map
(RowViewMapper<T> mapper) Maps this result set to aResultIterable
, using the givenRowViewMapper
.default <R> ResultIterable<R>
Returns aResultIterable<U>
derived from thisResultIterable<T>
, by transforming elements using the given mapper function.default <T> ResultIterable<T>
Maps this result set to aResultIterable
of the given element type.default ResultIterable<?>
Maps this result set to aResultIterable
of the given element type.default <T> ResultIterable<T>
ResultBearing.mapTo
(GenericType<T> type) Maps this result set to aResultIterable
of the given element type.default <T> ResultIterable<T>
ResultBearing.mapTo
(QualifiedType<T> type) Maps this result set to aResultIterable
of the given qualified element type.default <T> ResultIterable<T>
Maps this result set to aResultIterable
of the given element type, usingBeanMapper
.default ResultIterable<Map<String,
Object>> ResultBearing.mapToMap()
Maps this result set to aResultIterable
ofMap<String,Object>
.default <T> ResultIterable<Map<String,
T>> default <T> ResultIterable<Map<String,
T>> ResultBearing.mapToMap
(GenericType<T> valueType) static <T> ResultIterable<T>
ResultIterable.of
(Supplier<ResultSet> resultSetSupplier, RowMapper<T> mapper, StatementContext ctx) Returns a ResultIterable backed by the given result set supplier, mapper, and context.static <T> ResultIterable<T>
ResultIterable.of
(ResultIterator<T> iterator) Returns a ResultIterable backed by the given iterator.Modifier and TypeMethodDescriptionstatic <U> BatchResultIterable<U>
BatchResultIterable.of
(ResultIterable<U> delegate, Supplier<int[]> modifiedRowCountsSupplier)