use of com.linkedin.thirdeye.datalayer.dto.IngraphMetricConfigDTO in project pinot by linkedin.
the class IngraphMetricConfigManagerImpl method findByRrdName.
@Override
public IngraphMetricConfigDTO findByRrdName(String rrdName) {
Predicate dashboardPredicate = Predicate.EQ("rrdName", rrdName);
List<IngraphMetricConfigBean> list = genericPojoDao.get(dashboardPredicate, IngraphMetricConfigBean.class);
IngraphMetricConfigDTO result = null;
if (CollectionUtils.isNotEmpty(list)) {
result = MODEL_MAPPER.map(list.get(0), IngraphMetricConfigDTO.class);
}
return result;
}
Aggregations