Uses of Interface
com.landawn.abacus.jdbc.Jdbc.BiRowMapper
-
Uses of Jdbc.BiRowMapper in com.landawn.abacus.jdbc
Modifier and TypeFieldDescriptionstatic final Jdbc.BiRowMapper<Object[]>
Jdbc.BiRowMapper.TO_ARRAY
The Constant TO_ARRAY.static final Jdbc.BiRowMapper<com.landawn.abacus.util.EntityId>
Jdbc.BiRowMapper.TO_ENTITY_ID
static final Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.TO_LINKED_HASH_MAP
The Constant TO_LINKED_HASH_MAP.static final Jdbc.BiRowMapper<List<Object>>
Jdbc.BiRowMapper.TO_LIST
The Constant TO_LIST.static final Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.TO_MAP
The Constant TO_MAP.Modifier and TypeMethodDescriptiondefault <R> Jdbc.BiRowMapper<R>
Jdbc.BiRowMapper.andThen
(com.landawn.abacus.util.Throwables.Function<? super T, ? extends R, SQLException> after) static <A,
B, C> Jdbc.BiRowMapper<com.landawn.abacus.util.Tuple.Tuple3<A, B, C>> Jdbc.BiRowMapper.combine
(Jdbc.BiRowMapper<? extends A> rowMapper1, Jdbc.BiRowMapper<? extends B> rowMapper2, Jdbc.BiRowMapper<? extends C> rowMapper3) static <T,
U> Jdbc.BiRowMapper<com.landawn.abacus.util.Tuple.Tuple2<T, U>> Jdbc.BiRowMapper.combine
(Jdbc.BiRowMapper<? extends T> rowMapper1, Jdbc.BiRowMapper<? extends U> rowMapper2) static <T> Jdbc.BiRowMapper<T>
Jdbc.BiRowMapper.from
(Jdbc.RowMapper<? extends T> rowMapper) <T> Jdbc.BiRowMapper<T>
It's stateful.<T> Jdbc.BiRowMapper<T>
Jdbc.BiRowMapper.BiRowMapperBuilder.to
(Class<? extends T> targetClass, boolean ignoreNonMatchedColumns) It's stateful.static <T> Jdbc.BiRowMapper<T>
It's stateful.static <T> Jdbc.BiRowMapper<T>
Don't cache or reuse the returnedBiRowMapper
instance.static <T> Jdbc.BiRowMapper<T>
Jdbc.BiRowMapper.to
(Class<? extends T> targetClass, Predicate<? super String> columnNameFilter, Function<? super String, String> columnNameConverter) It's stateful.static <T> Jdbc.BiRowMapper<T>
Jdbc.BiRowMapper.to
(Class<? extends T> targetClass, Predicate<? super String> columnNameFilter, Function<? super String, String> columnNameConverter, boolean ignoreNonMatchedColumns) It's stateful.static <T> Jdbc.BiRowMapper<T>
It's stateful.static <T> Jdbc.BiRowMapper<T>
Jdbc.BiRowMapper.to
(Class<? extends T> entityClass, Map<String, String> prefixAndFieldNameMap, boolean ignoreNonMatchedColumns) It's stateful.default Jdbc.BiRowMapper<T>
Jdbc.RowMapper.toBiRowMapper()
static Jdbc.BiRowMapper<com.landawn.abacus.util.NoCachingNoUpdating.DisposableObjArray>
Jdbc.BiRowMapper.toDisposableObjArray()
It's stateful.static Jdbc.BiRowMapper<com.landawn.abacus.util.NoCachingNoUpdating.DisposableObjArray>
Jdbc.BiRowMapper.toDisposableObjArray
(Class<?> entityClass) It's stateful.static Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.toMap
(Jdbc.RowExtractor rowExtractor) static Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.toMap
(Jdbc.RowExtractor rowExtractor, BiPredicate<String, Object> valueFilter, IntFunction<Map<String, Object>> mapSupplier) static Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.toMap
(Jdbc.RowExtractor rowExtractor, Function<? super String, String> columnNameConverter, IntFunction<Map<String, Object>> mapSupplier) It's stateful.static Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.toMap
(BiPredicate<String, Object> valueFilter, IntFunction<Map<String, Object>> mapSupplier) static Jdbc.BiRowMapper<Map<String,
Object>> It's stateful.static Jdbc.BiRowMapper<Map<String,
Object>> Jdbc.BiRowMapper.toMap
(Function<? super String, String> columnNameConverter, IntFunction<Map<String, Object>> mapSupplier) static Jdbc.BiRowMapper<Map<String,
Object>> Modifier and TypeMethodDescription<ID> List<ID>
AbstractPreparedQuery.batchInsert
(Jdbc.BiRowMapper<? extends ID> autoGeneratedKeyExtractor) <T> com.landawn.abacus.util.Tuple.Tuple2<int[],
List<T>> AbstractPreparedQuery.batchUpdateAndReturnGeneratedKeys
(Jdbc.BiRowMapper<T> autoGeneratedKeyExtractor) static <A,
B, C> Jdbc.BiRowMapper<com.landawn.abacus.util.Tuple.Tuple3<A, B, C>> Jdbc.BiRowMapper.combine
(Jdbc.BiRowMapper<? extends A> rowMapper1, Jdbc.BiRowMapper<? extends B> rowMapper2, Jdbc.BiRowMapper<? extends C> rowMapper3) static <T,
U> Jdbc.BiRowMapper<com.landawn.abacus.util.Tuple.Tuple2<T, U>> Jdbc.BiRowMapper.combine
(Jdbc.BiRowMapper<? extends T> rowMapper1, Jdbc.BiRowMapper<? extends U> rowMapper2) <T> com.landawn.abacus.util.u.Optional<T>
AbstractPreparedQuery.findFirst
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) Deprecated.Use {@link stream(BiRowFilter, BiRowMapper).first()} instead.<T> com.landawn.abacus.util.u.Optional<T>
AbstractPreparedQuery.findFirst
(Jdbc.BiRowMapper<? extends T> rowMapper) <T> T
AbstractPreparedQuery.findFirstOrNull
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) Deprecated.Use {@link stream(BiRowFilter, BiRowMapper).first()} instead.<T> T
AbstractPreparedQuery.findFirstOrNull
(Jdbc.BiRowMapper<? extends T> rowMapper) <T> com.landawn.abacus.util.u.Optional<T>
AbstractPreparedQuery.findOnlyOne
(Jdbc.BiRowMapper<? extends T> rowMapper) <T> T
AbstractPreparedQuery.findOnlyOneOrNull
(Jdbc.BiRowMapper<? extends T> rowMapper) static <T> Jdbc.RowMapper<T>
Jdbc.RowMapper.from
(Jdbc.BiRowMapper<? extends T> biRowMapper) Deprecated.because it's stateful and may be misused easily&frequently<T> com.landawn.abacus.util.u.Optional<T>
AbstractPreparedQuery.get
(Jdbc.BiRowMapper<? extends T> rowMapper) Deprecated.replaced byfindOnlyOne
.<T> T
AbstractPreparedQuery.gett
(Jdbc.BiRowMapper<? extends T> rowMapper) Deprecated.replaced byfindOnlyOneOrNull
.static <K,
V> Jdbc.BiResultExtractor<Map<K, List<V>>> Jdbc.BiResultExtractor.groupTo
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor) static <K,
V, M extends Map<K, List<V>>>
Jdbc.BiResultExtractor<M>Jdbc.BiResultExtractor.groupTo
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Supplier<? extends M> supplier) static <K,
V, A, D> Jdbc.BiResultExtractor<Map<K, D>> Jdbc.BiResultExtractor.groupTo
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream) static <K,
V, A, D, M extends Map<K, D>>
Jdbc.BiResultExtractor<M>Jdbc.BiResultExtractor.groupTo
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream, Supplier<? extends M> supplier) <ID> com.landawn.abacus.util.u.Optional<ID>
AbstractPreparedQuery.insert
(Jdbc.BiRowMapper<? extends ID> autoGeneratedKeyExtractor) <T> List<T>
AbstractPreparedQuery.list
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) <T> List<T>
AbstractPreparedQuery.list
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper, int maxResult) <T> List<T>
AbstractPreparedQuery.list
(Jdbc.BiRowMapper<? extends T> rowMapper) <T> List<T>
AbstractPreparedQuery.list
(Jdbc.BiRowMapper<? extends T> rowMapper, int maxResult) Deprecated.the result size should be limited in database server side by sql scripts.<T> List<T>
PreparedCallableQuery.listAll
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) <T> List<T>
PreparedCallableQuery.listAll
(Jdbc.BiRowMapper<? extends T> rowMapper) <T> com.landawn.abacus.util.Tuple.Tuple2<List<T>,
Jdbc.OutParamResult> PreparedCallableQuery.listAllAndGetOutParameters
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) <T> com.landawn.abacus.util.Tuple.Tuple2<List<T>,
Jdbc.OutParamResult> PreparedCallableQuery.listAllAndGetOutParameters
(Jdbc.BiRowMapper<? extends T> rowMapper) <T> com.landawn.abacus.util.Tuple.Tuple2<List<T>,
Jdbc.OutParamResult> PreparedCallableQuery.listAndGetOutParameters
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) <T> com.landawn.abacus.util.Tuple.Tuple2<List<T>,
Jdbc.OutParamResult> PreparedCallableQuery.listAndGetOutParameters
(Jdbc.BiRowMapper<? extends T> rowMapper) static <T,
ID, SB extends com.landawn.abacus.util.SQLBuilder, TD extends CrudDao<T, ID, SB, TD>>
voidJdbcUtil.setIdExtractorForDao
(Class<? extends CrudDao<T, ID, SB, TD>> daoInterface, Jdbc.BiRowMapper<? extends ID> idExtractor) <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> AbstractPreparedQuery.stream
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) lazy-execution, lazy-fetch.<T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> AbstractPreparedQuery.stream
(Jdbc.BiRowMapper<? extends T> rowMapper) lazy-execution, lazy-fetch.static <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> JdbcUtil.stream
(ResultSet resultSet, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) It's user's responsibility to close the inputresultSet
after the stream is finished, or call:
JdbcUtil.stream(resultset).onClose(Fn.closeQuietly(resultSet))...
static <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> JdbcUtil.stream
(ResultSet resultSet, Jdbc.BiRowMapper<? extends T> rowMapper) It's user's responsibility to close the inputresultSet
after the stream is finished, or call:
JdbcUtil.stream(resultset).onClose(Fn.closeQuietly(resultSet))...
<T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> PreparedCallableQuery.streamAll
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> PreparedCallableQuery.streamAll
(Jdbc.BiRowMapper<? extends T> rowMapper) static <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> JdbcUtil.streamAllResultSets
(Statement stmt, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) It's user's responsibility to close the inputstmt
after the stream is finished, or call:
JdbcUtil.streamAllResultSets(stmt, rowFilter, rowMapper).onClose(Fn.closeQuietly(stmt))...
static <T> com.landawn.abacus.util.ExceptionalStream<T,
SQLException> JdbcUtil.streamAllResultSets
(Statement stmt, Jdbc.BiRowMapper<? extends T> rowMapper) It's user's responsibility to close the inputstmt
after the stream is finished, or call:
JdbcUtil.streamAllResultSets(stmt, rowMapper).onClose(Fn.closeQuietly(stmt))...
static <T> Jdbc.BiResultExtractor<List<T>>
Jdbc.BiResultExtractor.toList
(Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<? extends T> rowMapper) static <T> Jdbc.BiResultExtractor<List<T>>
Jdbc.BiResultExtractor.toList
(Jdbc.BiRowMapper<? extends T> rowMapper) static <K,
V> Jdbc.BiResultExtractor<Map<K, V>> Jdbc.BiResultExtractor.toMap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor) static <K,
V> Jdbc.BiResultExtractor<Map<K, V>> Jdbc.BiResultExtractor.toMap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, BinaryOperator<V> mergeFunction) static <K,
V, M extends Map<K, V>>
Jdbc.BiResultExtractor<M>Jdbc.BiResultExtractor.toMap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, BinaryOperator<V> mergeFunction, Supplier<? extends M> supplier) static <K,
V, M extends Map<K, V>>
Jdbc.BiResultExtractor<M>Jdbc.BiResultExtractor.toMap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Supplier<? extends M> supplier) static <K,
V, A, D> Jdbc.BiResultExtractor<Map<K, D>> Jdbc.BiResultExtractor.toMap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream) Deprecated.replaced bygroupTo(BiRowMapper, BiRowMapper, Collector)
static <K,
V, A, D, M extends Map<K, D>>
Jdbc.BiResultExtractor<M>Jdbc.BiResultExtractor.toMap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Collector<? super V, A, D> downstream, Supplier<? extends M> supplier) Deprecated.replaced bygroupTo(BiRowMapper, BiRowMapper, Collector, Supplier)
static <K,
V> Jdbc.BiResultExtractor<com.landawn.abacus.util.ListMultimap<K, V>> Jdbc.BiResultExtractor.toMultimap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor) static <K,
V, C extends Collection<V>, M extends com.landawn.abacus.util.Multimap<K, V, C>>
Jdbc.BiResultExtractor<M>Jdbc.BiResultExtractor.toMultimap
(Jdbc.BiRowMapper<? extends K> keyExtractor, Jdbc.BiRowMapper<? extends V> valueExtractor, Supplier<? extends M> multimapSupplier) AbstractPreparedQuery.updateAndReturnGeneratedKeys
(Jdbc.BiRowMapper<T> autoGeneratedKeyExtractor) -
Uses of Jdbc.BiRowMapper in com.landawn.abacus.jdbc.dao
Modifier and TypeMethodDescription<R> com.landawn.abacus.util.u.Optional<R>
Dao.findFirst
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
Dao.findFirst
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
UncheckedDao.findFirst
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
UncheckedDao.findFirst
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
Dao.findOnlyOne
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
Dao.findOnlyOne
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
UncheckedDao.findOnlyOne
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.u.Optional<R>
UncheckedDao.findOnlyOne
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
Dao.list
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
Dao.list
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
Dao.list
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
Dao.list
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
UncheckedDao.list
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
UncheckedDao.list
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
UncheckedDao.list
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<R> rowMapper) <R> List<R>
UncheckedDao.list
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) <R> com.landawn.abacus.util.ExceptionalStream<R,
SQLException> Dao.stream
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<R> rowMapper) Lazy execution, lazy fetching.<R> com.landawn.abacus.util.ExceptionalStream<R,
SQLException> Dao.stream
(com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) Lazy execution, lazy fetching.<R> com.landawn.abacus.util.ExceptionalStream<R,
SQLException> Dao.stream
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowFilter rowFilter, Jdbc.BiRowMapper<R> rowMapper) Lazy execution, lazy fetching.<R> com.landawn.abacus.util.ExceptionalStream<R,
SQLException> Dao.stream
(Collection<String> selectPropNames, com.landawn.abacus.condition.Condition cond, Jdbc.BiRowMapper<R> rowMapper) Lazy execution, lazy fetching.