private LinkedHashMap<MetricColumn,Object> extractMetricValues(Set<MetricColumn> metricColumns,JsonNode entry){
  LinkedHashMap<MetricColumn,Object> metricValues=new LinkedHashMap<>();
  for (  MetricColumn mc : metricColumns) {
    JsonNode fieldNode=entry.get(mc.getName());
    if (fieldNode == null) {
      LOG.warn("Found null node for metric column {}",mc.getName());
    }
 else {
      metricValues.put(mc,getNodeValue(fieldNode));
    }
  }
  return metricValues;
}

private LinkedHashMap < MetricColumn , Object > extractMetricValues ( Set < MetricColumn > metricColumns , JsonNode entry ) { LinkedHashMap < MetricColumn , Object > metricValues = new LinkedHashMap < > ( ) ; for ( MetricColumn mc : metricColumns ) { JsonNode fieldNode = entry . get ( mc . getName ( ) ) ; if ( fieldNode == null ) { LOG . warn ( "Found null node for metric column {}" , mc . getName ( ) ) ; } else { metricValues . put ( mc , getNodeValue ( fieldNode ) ) ; } } return metricValues ; }
extract the metric values for a json object given the set of all available metric columns and the json object .
