public static void saveToLocalCache(Path cachePath, List<? extends SegmentFd> segmentFds) throws IOException {
            Map<String, SegmentMeta> sectionInfos = new HashMap<>(segmentFds.size());
            for (SegmentFd fd : segmentFds) {
                sectionInfos.put(fd.name(), ((Fd) fd).sectionInfo);
            }
            SegmentMeta.saveToLocalFile(cachePath, sectionInfos);
        }
Create an {@link IntegratedSegment} with the {@link SegmentMeta} already provided.

@param name        The name of segment.
@param sectionInfo The section info.
@param dataSource  The file where segment resides.
@return A {@link Fd} pointed to the file.
indexr-segment/src/main/java/io/indexr/segment/storage/itg/IntegratedSegment.java