Package org.apache.lucene.codecs
Class StoredFieldsFormat
- java.lang.Object
-
- org.apache.lucene.codecs.StoredFieldsFormat
-
- Direct Known Subclasses:
CompressingStoredFieldsFormat
,Lucene40StoredFieldsFormat
public abstract class StoredFieldsFormat extends Object
Controls the format of stored fields
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StoredFieldsFormat()
Sole constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StoredFieldsReader
fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)
Returns aStoredFieldsReader
to load stored fields.abstract StoredFieldsWriter
fieldsWriter(Directory directory, SegmentInfo si, IOContext context)
Returns aStoredFieldsWriter
to write stored fields.
-
-
-
Method Detail
-
fieldsReader
public abstract StoredFieldsReader fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException
Returns aStoredFieldsReader
to load stored fields.- Throws:
IOException
-
fieldsWriter
public abstract StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context) throws IOException
Returns aStoredFieldsWriter
to write stored fields.- Throws:
IOException
-
-