Package com.pyranid

Interface ResultSetMapper

    • Method Detail

      • map

        <T> T map​(ResultSet resultSet,
                  Class<T> resultClass)
        Maps the current row of resultSet into an instance of resultClass.
        Type Parameters:
        T - result instance type token
        Parameters:
        resultSet - provides raw row data to pull from
        resultClass - the type of instance to map to
        Returns:
        an instance of the given resultClass
        Throws:
        DatabaseException - if an error occurs during mapping