Package com.landawn.abacus.jdbc
Interface Jdbc.RowExtractor
- All Superinterfaces:
com.landawn.abacus.util.Throwables.BiConsumer<ResultSet,
Object[], SQLException>
- Enclosing class:
- Jdbc
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Jdbc.RowExtractor
extends com.landawn.abacus.util.Throwables.BiConsumer<ResultSet,Object[],SQLException>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
builder()
builder
(Jdbc.ColumnGetter<?> defaultColumnGetter) static Jdbc.RowExtractor
It's stateful.static Jdbc.RowExtractor
It's stateful.
-
Method Details
-
accept
- Specified by:
accept
in interfacecom.landawn.abacus.util.Throwables.BiConsumer<ResultSet,
Object[], SQLException> - Throws:
SQLException
-
createBy
It's stateful. Don't save or cache the returned instance for reuse or use it in parallel stream.- Parameters:
entityClassForFetch
-- Returns:
-
createBy
@SequentialOnly @Stateful static Jdbc.RowExtractor createBy(Class<?> entityClassForFetch, List<String> columnLabels) It's stateful. Don't save or cache the returned instance for reuse or use it in parallel stream.- Parameters:
entityClassForFetch
-columnLabels
-- Returns:
-
builder
-
builder
-