@Override
        public ColumnMapper<Counter> getColumnMapper() {
            return (r, idx, ctx) -> new Counter().setValue(r.getInt(idx));
        }
Codec to persist a counter to the database and restore it back.
docs/src/test/java/jdbi/doc/Counter.java