@Beta public static interface SqlQuery.SqlQueryRowProcessor
processRow(java.util.Map<java.lang.String, java.lang.Object>, 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 SqlQuery.query(SqlRuntimeContext, SqlQueryRowProcessor)
.
For more info please see the Tutorials.
Modifier and Type | Method and Description |
---|---|
boolean |
processRow(Map<String,Object> resultRow,
int rownum)
This method will be called once for database row.
|
boolean processRow(Map<String,Object> resultRow, int rownum) throws SqlRuntimeException
resultRow
- The object representation of the database row.rownum
- The database row number starting from 1.SqlRuntimeException
Copyright © 2017. All rights reserved.