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 SummaryModifier and TypeMethodDescription- onResultSetCreated- (ResultSetProps rsProps, ResultSet rs) Method called when the result set is created, before rows are processed.
- Method Details- onResultSetCreatedMethod called when the result set is created, before rows are processed.- The method should return a class instance implementing - IResultSetRowProcessorthat 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 nullin order not to process the rows.
- Throws:
- SQLException- In case of SQL exceptions.