Package org.jdbi.v3.postgres
Class HStoreColumnMapper
java.lang.Object
org.jdbi.v3.postgres.HStoreColumnMapper
- All Implemented Interfaces:
ColumnMapper<Map<String,String>>
A column mapper which maps Postgres' hstore type to Java's
Map.-
Constructor Details
-
HStoreColumnMapper
public HStoreColumnMapper()
-
-
Method Details
-
map
public Map<String,String> map(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException - Specified by:
mapin interfaceColumnMapper<Map<String,String>> - Throws:
SQLException
-