public interface DBRecordMapper<K>
EmpireTemplate for mapping
DBRecordData to an Object.
Typically it can be used to extract data from a DBReader, but without
iterating over it, it is handled by EmpireTemplate.
This class is the Empire equivalent of Spring's
RowMapper.| Modifier and Type | Method and Description |
|---|---|
K |
mapRecord(DBRecordData record,
int rowNum)
Implementations must implement this method to map data in a DBRecordData.
|
K mapRecord(DBRecordData record, int rowNum)
record - the DBRecordData to maprowNum - the number of the current rowCopyright © 2008–2020 Apache Software Foundation. All rights reserved.