@Override
    @SuppressWarnings("unchecked")
    public Map<String, String> map(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException {
        return (Map<String, String>) r.getObject(columnNumber);
    }
A column mapper which maps Postgres' hstore type to Java's {@link Map}.
postgres/src/main/java/org/jdbi/v3/postgres/HStoreColumnMapper.java