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.-
Method Summary
Modifier and TypeMethodDescriptionabstract voidwrite(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext) WriteSegmentInfodata.
-
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
-