Package com.iizix.db.api
Interface IResultSetProcessor
-
public interface IResultSetProcessor
Interface implemented by a Result Set processor for database transactions executing an SQL query statement that produces a result set.- Author:
- Christopher Mindus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResultSetRowProcessor
onResultSetCreated(ResultSetProps rsProps, java.sql.ResultSet rs)
Method called when the result set is created, before rows are processed.
-
-
-
Method Detail
-
onResultSetCreated
IResultSetRowProcessor onResultSetCreated(ResultSetProps rsProps, java.sql.ResultSet rs) throws java.sql.SQLException
Method called when the result set is created, before rows are processed.The method should return a class instance implementing
IResultSetRowProcessor
that is in turn called for every row in the result set.- Parameters:
rsProps
- The result set properties.rs
- The SQL ResultSet instance.- Returns:
- The instance of the row processor that will process all rows, or
null
in order not to process the rows. - Throws:
java.sql.SQLException
- In case of SQL exceptions.
-
-