public static Fd create(String name, Path path) throws IOException {
            return create(name, ByteBufferReader.Opener.create(path));
        }
Integrate a segment into an {@link IntegratedSegment}.

@param segment      The segment to integrate.
@param writerOpener The destination file which generated segment will write into.
@param dstReader    The same file of <i>write</i>, used to generate the returned segment fd.
                    It could be <i>null</i> if you are not plan to really open the segment by {@link SegmentFd#open(IndexMemCache, ExtIndexMemCache, PackMemCache)}.
                    You can create the same segment fd later by {@link IntegratedSegment.Fd#create(String, ByteBufferReader.Opener)}.
@return A {@link Fd} pointed to the integrated segment.
indexr-segment/src/main/java/io/indexr/segment/storage/itg/IntegratedSegment.java