|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Beta public interface SqlRowProcessor<E>
A callback to be used with the cursor based queries.
processRow(E, int)
will be called for each database row that is read, and should return false
when you want
to stop processing. It is utilized by
SqlQueryEngine.query(SqlSession, Class, Object, SqlControl, SqlRowProcessor)
.
For more info please see the Tutorials.
Method Summary | |
---|---|
boolean |
processRow(E result,
int rownum)
This method will be called once for database row. |
Method Detail |
---|
boolean processRow(E result, int rownum) throws SqlRuntimeException
result
- The result class instance. The object representation of the database row.rownum
- The database row number starting from 1.
SqlRuntimeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |