Interface ColumnMapper

  • All Known Subinterfaces:
    All Known Implementing Classes:
    AttributeMapper, PasswordKeyMapper

    public interface ColumnMapper
    A 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.
    Pedro Igor
    • Method Detail

      • map

        Object map​(ResultSet resultSet,
                   Supplier<Provider[]> providers)
            throws SQLException
        Maps the given ResultSet to some internal representation.
        resultSet - the result set previously created based on a query
        providers - the providers to use if required
        the resulting object mapped from the given ResultSet
        SQLException - if any error occurs when manipulating the given ResultSet