Class SegmentInfoReader

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SegmentInfoReader()
      Sole constructor.
    • Constructor Detail

      • SegmentInfoReader

        protected SegmentInfoReader()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • read

        public abstract SegmentInfo read​(Directory directory,
                                         java.lang.String segmentName,
                                         IOContext context)
                                  throws java.io.IOException
        Read SegmentInfo data from a directory.
        Parameters:
        directory - directory to read from
        segmentName - name of the segment to read
        Returns:
        infos instance to be populated with data
        Throws:
        java.io.IOException - If an I/O error occurs