Search in sources :

Example 1 with OverrideConfigBean

use of com.linkedin.thirdeye.datalayer.pojo.OverrideConfigBean in project pinot by linkedin.

the class OverrideConfigManagerImpl method findByPredicate.

private List<OverrideConfigDTO> findByPredicate(Predicate predicate) {
    List<OverrideConfigBean> list = genericPojoDao.get(predicate, OverrideConfigBean.class);
    List<OverrideConfigDTO> result = new ArrayList<>();
    for (OverrideConfigBean bean : list) {
        OverrideConfigDTO dto = convertBean2DTO(bean, OverrideConfigDTO.class);
        result.add(dto);
    }
    return result;
}
Also used : OverrideConfigDTO(com.linkedin.thirdeye.datalayer.dto.OverrideConfigDTO) OverrideConfigBean(com.linkedin.thirdeye.datalayer.pojo.OverrideConfigBean) ArrayList(java.util.ArrayList)

Aggregations

OverrideConfigDTO (com.linkedin.thirdeye.datalayer.dto.OverrideConfigDTO)1 OverrideConfigBean (com.linkedin.thirdeye.datalayer.pojo.OverrideConfigBean)1 ArrayList (java.util.ArrayList)1