R - The type of object this ColumnMapper yields from a ResultSet@FunctionalInterface public interface ColumnMapper<R>
RowMapper in that it is also given a column label/name
together with the ResultSet, which can be used to process specific column(s).BasicColumnMapper,
NullableColumnMapper| Modifier and Type | Method and Description |
|---|---|
default AttributeMapper<R> |
forAttribute(Attribute<R> attribute)
Associate the column mapper with an
Attribute. |
R |
map(String name,
ResultSet resultSet) |
R map(String name, ResultSet resultSet) throws SQLException
SQLExceptiondefault AttributeMapper<R> forAttribute(Attribute<R> attribute)
Attribute.AttributeMapperCopyright © 2016 Digipost. All rights reserved.