| Package | Description |
|---|---|
| org.jdbi.v3.core.result |
result provides the streaming interface that reads rows from JDBC
and drives the mapper and collector processes to
produce results. |
| Modifier and Type | Method and Description |
|---|---|
default <T> ResultIterable<T> |
ResultBearing.map(ColumnMapper<T> mapper)
Maps this result set to a
ResultIterable, using the given column mapper. |
default <U> ResultIterable<U> |
ResultIterable.map(Function<? super T,? extends U> mapper)
Returns a
ResultIterable<U> derived from this ResultIterable<T>, by
transforming elements using the given mapper function. |
default <T> ResultIterable<T> |
ResultBearing.map(RowMapper<T> mapper)
Maps this result set to a
ResultIterable, using the given row mapper. |
default <T> ResultIterable<T> |
ResultBearing.map(RowViewMapper<T> mapper)
Maps this result set to a
ResultIterable, using the given RowViewMapper. |
default <T> ResultIterable<T> |
ResultBearing.mapTo(Class<T> type)
Maps this result set to a
ResultIterable of the given element type. |
default <T> ResultIterable<T> |
ResultBearing.mapTo(GenericType<T> type)
Maps this result set to a
ResultIterable of the given element type. |
default <T> ResultIterable<T> |
ResultBearing.mapTo(QualifiedType<T> type)
Maps this result set to a
ResultIterable of the given qualified element type. |
default ResultIterable<?> |
ResultBearing.mapTo(Type type)
Maps this result set to a
ResultIterable of the given element type. |
default <T> ResultIterable<T> |
ResultBearing.mapToBean(Class<T> type)
Maps this result set to a
ResultIterable of the given element type, using BeanMapper. |
default ResultIterable<Map<String,Object>> |
ResultBearing.mapToMap()
Maps this result set to a
ResultIterable of Map<String,Object>. |
default <T> ResultIterable<Map<String,T>> |
ResultBearing.mapToMap(Class<T> valueType)
|
default <T> ResultIterable<Map<String,T>> |
ResultBearing.mapToMap(GenericType<T> valueType)
|
static <T> ResultIterable<T> |
ResultIterable.of(ResultIterator<T> iterator)
Returns a ResultIterable backed by the given iterator.
|
static <T> ResultIterable<T> |
ResultIterable.of(Supplier<ResultSet> supplier,
RowMapper<T> mapper,
StatementContext ctx)
Returns a ResultIterable backed by the given result set supplier, mapper, and context.
|
Copyright © 2019. All rights reserved.