Package net.sf.jkniv.whinstone
Interface ResultSetParser<T,R>
-
- Type Parameters:
T- POJO to receive the values from result of query.R- The driver result of a query likeResultSet
public interface ResultSetParser<T,R>Responsible to extract ResultSet rows and create a list of POJO.- Since:
- 0.6.0
- Author:
- Alisson Gomes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<T>parser(R rs)Execute the parser at ResultSet iterating over them.
-
-
-
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
-
-