Uses of Interface
com.landawn.abacus.jdbc.Jdbc.ResultExtractor
-
Uses of Jdbc.ResultExtractor in com.landawn.abacus.jdbc
Modifier and TypeFieldDescriptionstatic final Jdbc.ResultExtractor<com.landawn.abacus.util.DataSet>
Jdbc.ResultExtractor.TO_DATA_SET
Modifier and TypeMethodDescriptiondefault <R> Jdbc.ResultExtractor<R>
Jdbc.ResultExtractor.andThen
(com.landawn.abacus.util.Throwables.Function<? super T, ? extends R, SQLException> after) static <K,
V> Jdbc.ResultExtractor<Map<K, List<V>>> Jdbc.ResultExtractor.groupTo
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor) static <K,
V, M extends Map<K, List<V>>>
Jdbc.ResultExtractor<M>Jdbc.ResultExtractor.groupTo
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Supplier<? extends M> supplier) static <K,
V, A, D> Jdbc.ResultExtractor<Map<K, D>> Jdbc.ResultExtractor.groupTo
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream) static <K,
V, A, D, M extends Map<K, D>>
Jdbc.ResultExtractor<M>Jdbc.ResultExtractor.groupTo
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream, Supplier<? extends M> supplier) static <R> Jdbc.ResultExtractor<R>
Jdbc.ResultExtractor.to
(com.landawn.abacus.util.Throwables.Function<com.landawn.abacus.util.DataSet, R, SQLException> after) static Jdbc.ResultExtractor<com.landawn.abacus.util.DataSet>
Jdbc.ResultExtractor.toDataSet
(Jdbc.RowExtractor rowExtractor) static Jdbc.ResultExtractor<com.landawn.abacus.util.DataSet>
Jdbc.ResultExtractor.toDataSet
(Jdbc.RowFilter rowFilter) static Jdbc.ResultExtractor<com.landawn.abacus.util.DataSet>
Jdbc.ResultExtractor.toDataSet
(Jdbc.RowFilter rowFilter, Jdbc.RowExtractor rowExtractor) static Jdbc.ResultExtractor<com.landawn.abacus.util.DataSet>
It's stateful.static Jdbc.ResultExtractor<com.landawn.abacus.util.DataSet>
static <T> Jdbc.ResultExtractor<List<T>>
Jdbc.ResultExtractor.toList
(Jdbc.RowFilter rowFilter, Jdbc.RowMapper<? extends T> rowMapper) static <T> Jdbc.ResultExtractor<List<T>>
Jdbc.ResultExtractor.toList
(Jdbc.RowMapper<? extends T> rowMapper) static <T> Jdbc.ResultExtractor<List<T>>
It's stateful.static <K,
V> Jdbc.ResultExtractor<Map<K, V>> Jdbc.ResultExtractor.toMap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor) static <K,
V> Jdbc.ResultExtractor<Map<K, V>> Jdbc.ResultExtractor.toMap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, BinaryOperator<V> mergeFunction) static <K,
V, M extends Map<K, V>>
Jdbc.ResultExtractor<M>Jdbc.ResultExtractor.toMap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, BinaryOperator<V> mergeFunction, Supplier<? extends M> supplier) static <K,
V, M extends Map<K, V>>
Jdbc.ResultExtractor<M>Jdbc.ResultExtractor.toMap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Supplier<? extends M> supplier) static <K,
V, A, D> Jdbc.ResultExtractor<Map<K, D>> Jdbc.ResultExtractor.toMap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream) Deprecated.static <K,
V, A, D, M extends Map<K, D>>
Jdbc.ResultExtractor<M>Jdbc.ResultExtractor.toMap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream, Supplier<? extends M> supplier) Deprecated.replaced bygroupTo(RowMapper, RowMapper, Collector, Supplier)
static <T> Jdbc.ResultExtractor<List<T>>
Jdbc.ResultExtractor.toMergedList
(Class<? extends T> targetClass) It's stateful.static <T> Jdbc.ResultExtractor<List<T>>
Jdbc.ResultExtractor.toMergedList
(Class<? extends T> targetClass, Collection<String> idPropNamesForMerge) It's stateful.static <K,
V> Jdbc.ResultExtractor<com.landawn.abacus.util.ListMultimap<K, V>> Jdbc.ResultExtractor.toMultimap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor) static <K,
V, C extends Collection<V>, M extends com.landawn.abacus.util.Multimap<K, V, C>>
Jdbc.ResultExtractor<M>Jdbc.ResultExtractor.toMultimap
(Jdbc.RowMapper<? extends K> keyExtractor, Jdbc.RowMapper<? extends V> valueExtractor, Supplier<? extends M> multimapSupplier) Modifier and TypeMethodDescriptionstatic <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> JdbcUtil.extractAllResultSets
(Statement stmt, Jdbc.ResultExtractor<T> resultExtractor) It's user's responsibility to close the inputstmt
after the stream is finished, or call:
JdbcUtil.extractAllResultSets(stmt, resultExtractor).onClose(Fn.closeQuietly(stmt))...
static <R> Jdbc.BiResultExtractor<R>
Jdbc.BiResultExtractor.from
(Jdbc.ResultExtractor<? extends R> resultExtractor) <R> R
AbstractPreparedQuery.query
(Jdbc.ResultExtractor<? extends R> resultExtractor) <R> List<R>
PreparedCallableQuery.queryAll
(Jdbc.ResultExtractor<? extends R> resultExtractor) <R> com.landawn.abacus.util.Tuple.Tuple2<List<R>,
Jdbc.OutParamResult> PreparedCallableQuery.queryAllAndGetOutParameters
(Jdbc.ResultExtractor<? extends R> resultExtractor) <R> com.landawn.abacus.util.Tuple.Tuple2<R,
Jdbc.OutParamResult> PreparedCallableQuery.queryAndGetOutParameters
(Jdbc.ResultExtractor<? extends R> resultExtractor) -
Uses of Jdbc.ResultExtractor in com.landawn.abacus.jdbc.dao
Modifier and TypeMethodDescription<R> R
Dao.query
(com.landawn.abacus.condition.Condition cond, Jdbc.ResultExtractor<? extends R> resultExtractor) <R> R
Dao.query
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.ResultExtractor<? extends R> resultExtractor) <R> R
UncheckedDao.query
(com.landawn.abacus.condition.Condition cond, Jdbc.ResultExtractor<? extends R> resultExtractor) <R> R
UncheckedDao.query
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.ResultExtractor<? extends R> resultExtractor)
groupTo(RowMapper, RowMapper, Collector)