Package org.apache.lucene.codecs
Class SegmentInfoFormat
- java.lang.Object
-
- org.apache.lucene.codecs.SegmentInfoFormat
-
- Direct Known Subclasses:
Lucene3xSegmentInfoFormat
,Lucene40SegmentInfoFormat
,Lucene46SegmentInfoFormat
public abstract class SegmentInfoFormat extends Object
Expert: Controls the format of theSegmentInfo
(segment metadata file).- See Also:
SegmentInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SegmentInfoFormat()
Sole constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SegmentInfoReader
getSegmentInfoReader()
Returns theSegmentInfoReader
for readingSegmentInfo
instances.abstract SegmentInfoWriter
getSegmentInfoWriter()
Returns theSegmentInfoWriter
for writingSegmentInfo
instances.
-
-
-
Method Detail
-
getSegmentInfoReader
public abstract SegmentInfoReader getSegmentInfoReader()
Returns theSegmentInfoReader
for readingSegmentInfo
instances.
-
getSegmentInfoWriter
public abstract SegmentInfoWriter getSegmentInfoWriter()
Returns theSegmentInfoWriter
for writingSegmentInfo
instances.
-
-