Package org.apache.lucene.codecs
Class StoredFieldsFormat
java.lang.Object
org.apache.lucene.codecs.StoredFieldsFormat
- Direct Known Subclasses:
Lucene90CompressingStoredFieldsFormat,Lucene90StoredFieldsFormat
Controls the format of stored fields
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StoredFieldsReaderfieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Returns aStoredFieldsReaderto load stored fields.abstract StoredFieldsWriterfieldsWriter(Directory directory, SegmentInfo si, IOContext context) Returns aStoredFieldsWriterto write stored fields.
-
Constructor Details
-
StoredFieldsFormat
protected StoredFieldsFormat()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
fieldsReader
public abstract StoredFieldsReader fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException Returns aStoredFieldsReaderto load stored fields.- Throws:
IOException
-
fieldsWriter
public abstract StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context) throws IOException Returns aStoredFieldsWriterto write stored fields.- Throws:
IOException
-