com.googlecode.flyway.core.util.jdbc
Interface RowMapper<T>

Type Parameters:
T - The type of object to map to.

public interface RowMapper<T>

Mapper from ResultSet row to object.


Method Summary
 T mapRow(java.sql.ResultSet rs)
          Maps a row in this resultSet to an object.
 

Method Detail

mapRow

T mapRow(java.sql.ResultSet rs)
         throws java.sql.SQLException
Maps a row in this resultSet to an object.

Parameters:
rs - The resultset.
Returns:
The corresponding object.
Throws:
java.sql.SQLException - when reading the resultset failed.


Copyright © 2012. All Rights Reserved.