diff --git a/skywalking-storage-center/skywalking-storage/src/main/java/com/a/eye/skywalking/storage/data/IndexMetaInfoCategory.java b/skywalking-storage-center/skywalking-storage/src/main/java/com/a/eye/skywalking/storage/data/IndexMetaInfoCategory.java deleted file mode 100644 index 0a4742a2d..000000000 --- a/skywalking-storage-center/skywalking-storage/src/main/java/com/a/eye/skywalking/storage/data/IndexMetaInfoCategory.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.a.eye.skywalking.storage.data; - -import com.a.eye.skywalking.storage.block.index.BlockFinder; -import com.a.eye.skywalking.storage.data.index.IndexMetaInfo; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class IndexMetaInfoCategory { - - public static Map> categorizeByDataIndexTime(List indexMetaInfo, - BlockFinder finder) { - Map> categorizeMetaInfo = new HashMap>(); - - for (IndexMetaInfo info : indexMetaInfo) { - long timestamp = finder.find(info.getStartTime()); - - List metaInfos = categorizeMetaInfo.get(timestamp); - if (metaInfos == null) { - metaInfos.add(info); - categorizeMetaInfo.put(timestamp, metaInfos); - } - } - - return categorizeMetaInfo; - } -}