Package com.landawn.abacus.jdbc
Class Jdbc.BiRowMapper.BiRowMapperBuilder
java.lang.Object
com.landawn.abacus.jdbc.Jdbc.BiRowMapper.BiRowMapperBuilder
- Enclosing interface:
- Jdbc.BiRowMapper<T>
-
Method Summary
Modifier and TypeMethodDescriptioncolumn
(String columnName, Jdbc.ColumnGetter<?> columnGetter) Deprecated.get
(String columnName, Jdbc.ColumnGetter<?> columnGetter) getBigDecimal
(String columnName) getBoolean
(String columnName) Deprecated.defaultgetObject(String)
if there is noColumnGetter
set for the target columngetTimestamp
(String columnName) <T> Jdbc.BiRowMapper<T>
It's stateful.<T> Jdbc.BiRowMapper<T>
It's stateful.
-
Method Details
-
getBoolean
-
getByte
-
getShort
-
getInt
-
getLong
-
getFloat
-
getDouble
-
getBigDecimal
-
getString
-
getDate
-
getTime
-
getTimestamp
-
getObject
Deprecated.defaultgetObject(String)
if there is noColumnGetter
set for the target column- Parameters:
columnName
-- Returns:
-
getObject
-
get
public Jdbc.BiRowMapper.BiRowMapperBuilder get(String columnName, Jdbc.ColumnGetter<?> columnGetter) -
column
@Deprecated public Jdbc.BiRowMapper.BiRowMapperBuilder column(String columnName, Jdbc.ColumnGetter<?> columnGetter) Deprecated.replaced byget(String, ColumnGetter)
- Parameters:
columnName
-columnGetter
-- Returns:
-
to
It's stateful. Don't save or cache the returned instance for reuse or use it in parallel stream.- Type Parameters:
T
-- Parameters:
targetClass
-- Returns:
-
to
@SequentialOnly @Stateful public <T> Jdbc.BiRowMapper<T> to(Class<? extends T> targetClass, boolean ignoreNonMatchedColumns) It's stateful. Don't save or cache the returned instance for reuse or use it in parallel stream.- Type Parameters:
T
-- Parameters:
targetClass
-ignoreNonMatchedColumns
-- Returns:
-
get(String, ColumnGetter)