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 voidwrite(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext) WriteSegmentInfodata.
-
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 WriteSegmentInfodata.- Throws:
IOException- If an I/O error occurs
-