public abstract class SegmentInfoReader extends Object
SegmentInfo information.| Modifier | Constructor and Description |
|---|---|
protected |
SegmentInfoReader()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SegmentInfo |
read(Directory directory,
String segmentName,
IOContext context)
Read
SegmentInfo data from a directory. |
protected SegmentInfoReader()
public abstract SegmentInfo read(Directory directory, String segmentName, IOContext context) throws IOException
SegmentInfo data from a directory.directory - directory to read fromsegmentName - name of the segment to readIOException - If an I/O error occursCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.