use of com.linkedin.thirdeye.datalayer.pojo.IngraphDashboardConfigBean in project pinot by linkedin.
the class IngraphDashboardConfigManagerImpl method findByName.
@Override
public IngraphDashboardConfigDTO findByName(String name) {
Predicate predicate = Predicate.EQ("name", name);
List<IngraphDashboardConfigBean> list = genericPojoDao.get(predicate, IngraphDashboardConfigBean.class);
IngraphDashboardConfigDTO result = null;
if (CollectionUtils.isNotEmpty(list)) {
result = MODEL_MAPPER.map(list.get(0), IngraphDashboardConfigDTO.class);
}
return result;
}
Aggregations