Package org.apache.lucene.codecs
Class SegmentInfoWriter
java.lang.Object
org.apache.lucene.codecs.SegmentInfoWriter
- Direct Known Subclasses:
Lucene40SegmentInfoWriter
,Lucene46SegmentInfoWriter
Specifies an API for classes that can write out
SegmentInfo
data.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
write
(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext) WriteSegmentInfo
data.
-
Constructor Details
-
SegmentInfoWriter
protected SegmentInfoWriter()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
write
public abstract void write(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext) throws IOException WriteSegmentInfo
data.- Throws:
IOException
- If an I/O error occurs
-