Interface ResultSetParser<T,​R>

  • Type Parameters:
    T - POJO to receive the values from result of query.
    R - The driver result of a query like ResultSet

    public interface ResultSetParser<T,​R>
    Responsible to extract ResultSet rows and create a list of POJO.
    Since:
    0.6.0
    Author:
    Alisson Gomes
    • Method Detail

      • parser

        List<T> parser​(R rs)
                throws SQLException
        Execute the parser at ResultSet iterating over them.
        Parameters:
        rs - Result
        Returns:
        list of POJO
        Throws:
        SQLException - when some access error happens