Package de.komoot.photon.importer.nominatim.model

Examples of de.komoot.photon.importer.nominatim.model.UpdateRow


  private List<UpdateRow> getIndexSectorPlaces(Integer rank, Integer geometrySector) {
    return template.query("select place_id, indexed_status from placex where rank_search = ?" +
        " and geometry_sector = ? and indexed_status > 0;", new Object[]{rank, geometrySector}, new RowMapper<UpdateRow>() {
      @Override
      public UpdateRow mapRow(ResultSet rs, int rowNum) throws SQLException {
        UpdateRow updateRow = new UpdateRow();
        updateRow.setPlaceId(rs.getLong("place_id"));
        updateRow.setIndexdStatus(rs.getInt("indexed_status"));
        return updateRow;
      }
    });
  }
View Full Code Here

TOP

Related Classes of de.komoot.photon.importer.nominatim.model.UpdateRow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.