Class ColumnRowMapper<T>
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.ColumnRowMapper<T>
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<T>
public class ColumnRowMapper<T>
extends Object
implements org.springframework.jdbc.core.RowMapper<T>
Row mapper for extracting a single column value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ColumnRowMapper
Constructor.- Parameters:
colNum- the column numbercolType- the output type
-
-
Method Details
-
mapRow
- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<T>- Throws:
SQLException
-