Package 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.
-
Interface Summary Interface Description BatchResultIterable<T> Extend theResultIterablefor batch operations.IteratorCallback<T,R,X extends java.lang.Exception> Callback for use withResultIterable.withIterator(IteratorCallback)IteratorConsumer<T,X extends java.lang.Exception> Callback for use withResultIterable.useIterator(IteratorConsumer)LinkedHashMapRowReducer<K,V> A row reducer that usesLinkedHashMap(which preserves insertion order) as a result container, and returnsmap.values().stream()as the final result.ResultBearing Provides access to the contents of aResultSetby mapping to Java types.ResultIterable<T> AnIterableof values, usually mapped from aResultSet.ResultIterator<T> Represents a forward-only iterator over a result set, which will lazily iterate the results.ResultProducer<R> Produces a result from an executedPreparedStatement.ResultProducers.ResultSetCreator ResultSetAccumulator<T> AResultSetAccumulatorrepeatedly combines rows from the givenResultSetto produce a single result.ResultSetScanner<T> Scan over rows of result sets, mapping and collecting the rows to a result type.RowReducer<C,R> Reduces row data from aResultSetinto a stream of result elements.StreamCallback<T,R,X extends java.lang.Exception> Callback for use withResultIterable.withStream(StreamCallback)StreamConsumer<T,X extends java.lang.Exception> Callback for use withResultIterable.useStream(StreamConsumer) -
Class Summary Class Description BatchResultBearing Extends theResultBearingclass to provide access to the per-batch row modification counts.EmptyResultSet EmptyResultSetMetaData ResultIterable.ResultIteratorDelegate<T,R> An implementation ofResultIteratorthat delegates calls to the iterator provided in the constructor.ResultProducers Commonly used ResultProducer implementations.RowView A RowView is an accessor forResultSetthat usesRowMapperorColumnMapperto extract values. -
Exception Summary Exception Description NoResultsException Thrown when no results were found in a context that requires at least one.ResultSetException Wraps exceptions thrown while traversing the JDBC result set.UnableToProduceResultException Wraps exceptions thrown while producing Java result types.