public void saveProperties(Iterator<Map.Entry<String, PropertyMap>> save) {
    while(save.hasNext()) {
      Map.Entry<String, PropertyMap> pair = save.next();
      PropertyMap map = pair.getValue();
      if (map != null) {
        saveProperties(pair.getKey(), map);
      } else {
        dropProperties(pair.getKey());
      }
    }
  }
Persists an iterator property map.
<p>May be useful to override to use one transaction.</p>
@param save the iterator on pairs for map key, property map
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyStore.java