org.apache.lucene.codecs.lucene46
Class Lucene46SegmentInfoReader
java.lang.Object
org.apache.lucene.codecs.SegmentInfoReader
org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoReader
public class Lucene46SegmentInfoReader
- extends SegmentInfoReader
Lucene 4.6 implementation of SegmentInfoReader
.
- See Also:
Lucene46SegmentInfoFormat
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lucene46SegmentInfoReader
public Lucene46SegmentInfoReader()
- Sole constructor.
read
public SegmentInfo read(Directory dir,
String segment,
IOContext context)
throws IOException
- Description copied from class:
SegmentInfoReader
- Read
SegmentInfo
data from a directory.
- Specified by:
read
in class SegmentInfoReader
- Parameters:
dir
- directory to read fromsegment
- name of the segment to read
- Returns:
- infos instance to be populated with data
- Throws:
IOException
- If an I/O error occurs
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.