|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hdpagination.dataaccess.support.jdbc.ColumnMapRowMapper
public class ColumnMapRowMapper
RowMapper implementation that converts a row into a new instance of java.util.Map
representing all columns as key-value pairs: one entry for each column, with the column name (low case) as key,
column value as the value.
| Constructor Summary | |
|---|---|
ColumnMapRowMapper()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
processRow(java.sql.ResultSet rs)
Implementations must implement this method to map each row of data in the ResultSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnMapRowMapper()
| Method Detail |
|---|
public java.lang.Object processRow(java.sql.ResultSet rs)
throws java.sql.SQLException
RowMapper
processRow in interface RowMapperrs - the ResultSet to map (pre-initialized for the current row)
java.sql.SQLException - - if a SQLException is encountered getting column values (that is, there's no need to catch SQLException)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||