Package org.apache.lucene.codecs
Class SegmentInfoWriter
- java.lang.Object
-
- org.apache.lucene.codecs.SegmentInfoWriter
-
- Direct Known Subclasses:
Lucene40SegmentInfoWriter
,Lucene46SegmentInfoWriter
public abstract class SegmentInfoWriter extends Object
Specifies an API for classes that can write outSegmentInfo
data.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SegmentInfoWriter()
Sole constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
write(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext)
WriteSegmentInfo
data.
-
-
-
Method Detail
-
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
-
-