org.openmetadata.service.dataInsight.UnusedAssetsAggregator Maven / Gradle / Ivy
package org.openmetadata.service.dataInsight;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.ArrayList;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.openmetadata.schema.analytics.RawCostAnalysisReportData;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.dataInsight.type.UnusedAssets;
import org.openmetadata.schema.type.EntityReference;
import org.openmetadata.service.util.JsonUtils;
@Slf4j
public abstract class UnusedAssetsAggregator, S, T>
implements DataInsightAggregatorInterface {
private final H hits;
protected UnusedAssetsAggregator(H hits) {
this.hits = hits;
}
@Override
public DataInsightChartResult process(DataInsightChartResult.DataInsightChartType chartType) {
List