Interface ColumnMapper
-
- All Known Subinterfaces:
KeyMapper
- All Known Implementing Classes:
AttributeMapper,PasswordKeyMapper
public interface ColumnMapperA column mapper is responsible to provide the mapping between a column in a table to some internal representation. For instance, mapping a column to a specific credential type or attribute.- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectmap(ResultSet resultSet, Supplier<Provider[]> providers)Maps the givenResultSetto some internal representation.
-
-
-
Method Detail
-
map
Object map(ResultSet resultSet, Supplier<Provider[]> providers) throws SQLException
Maps the givenResultSetto some internal representation.- Parameters:
resultSet- the result set previously created based on a queryproviders- the providers to use if required- Returns:
- the resulting object mapped from the given
ResultSet - Throws:
SQLException- if any error occurs when manipulating the givenResultSet
-
-