class CatalogTableStatisticsConverter {

	@VisibleForTesting
	public static Map<String, ColumnStats> convertToColumnStatsMap(
			Map<String, CatalogColumnStatisticsDataBase> columnStatisticsData) {
		Map<String, ColumnStats> columnStatsMap = new HashMap<>();
		for (Map.Entry<String, CatalogColumnStatisticsDataBase> entry : columnStatisticsData.entrySet()) {
			if (entry.getValue() != null) {
				ColumnStats columnStats = convertToColumnStats(entry.getValue());
				columnStatsMap.put(entry.getKey(), columnStats);
			}
		}
		return columnStatsMap;
	}

}