read
open override fun read(dir: Directory, segment: String, segmentID: ByteArray, context: IOContext): SegmentInfo
Read SegmentInfo data from a directory.
Return
infos instance to be populated with data
Parameters
directory
directory to read from
segmentName
name of the segment to read
segmentID
expected identifier for the segment
Throws
IOException
If an I/O error occurs