All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.dongliu.dbutils.mapper.RowMapper Maven / Gradle / Ivy

package net.dongliu.dbutils.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * Mapper row to result
 */
public interface RowMapper {

    /**
     * Map one resultSet row to T instance
     *
     * @param provider for get the columns names
     * @param rs       the result set
     */
    T map(ColumnNamesProvider provider, ResultSet rs) throws SQLException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy