protected String read(String modelPropName) {
    StringBuilder result = new StringBuilder();
    int pages = getConfig().getInt(modelPropName);
    LOG.debug("Read started: " + modelPropName + " pages:" + pages);

    for(int page = 1; page <= pages; page++) {
      String substring = getConfig().getString(modelPropName + "#" + page);
      LOG.debug("Chunk read: " + modelPropName + "#" + page + "=" + substring);
      if (substring != null) {
        result.append(substring);
      }
    }

    return result.toString();
  }
Read chunked value (keys format <key>#<chunk_id>)
@param modelPropName key
@return value
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/InstanceKeyValueStorage.java