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 java.lang.Object
Controls the format of stored fields
-
-
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 java.io.IOException
Returns aStoredFieldsReader
to load stored fields.- Throws:
java.io.IOException
-
fieldsWriter
public abstract StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context) throws java.io.IOException
Returns aStoredFieldsWriter
to write stored fields.- Throws:
java.io.IOException
-
-