private Val getResultSetDateMs(final ResultSet resultSet, final String column) {
        try {
            return ValDate.create(resultSet.getLong(column));
        } catch (SQLException e) {
            throw new RuntimeException(String.format("Error extracting field %s", column), e);
        }
    }
Build a mapper function that will only extract the columns of interest from the resultSet row.
Assumes something external to the returned function will advance the resultSet
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/search/StatisticsSearchServiceImpl.java