Package com.taobao.top.analysis.statistics.data

Examples of com.taobao.top.analysis.statistics.data.ReportEntry


      if (node == null || (node != null && node.size() == 0))
        continue;
      Iterator<String> iter = node.keySet().iterator();
      while (iter.hasNext()) {
        String entryId = iter.next();
        ReportEntry entry = entryConfig.get(entryId);
        if (entry == null || (entry != null && entry.isLazy()))
          continue;
        if (result.get(entryId) == null)
          result.put(entryId, new HashMap<String, Object>());
        Map<String, Object> content = node.get(entryId);
        Iterator<String> keyIter = content.keySet().iterator();
        while (keyIter.hasNext()) {
          String key = keyIter.next();
          Object value = content.get(key);
          if (key == null || value == null)
            continue;
                    try {
                        entry.getReduceClass().reducer(entry, key, value, result.get(entryId), reduceType);
                    } catch (Throwable e) {
              logger.error("reduce error entryName:" + entry.getName() + ", key:" + key + ",value:" + value + "," + entry.getReports().toString(), e);
          }
        }

      }
View Full Code Here

TOP

Related Classes of com.taobao.top.analysis.statistics.data.ReportEntry

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.