org.apache.lucene.codecs
Class StoredFieldsFormat
java.lang.Object
org.apache.lucene.codecs.StoredFieldsFormat
- Direct Known Subclasses:
- Lucene40StoredFieldsFormat, SimpleTextStoredFieldsFormat
public abstract class StoredFieldsFormat
- extends Object
Controls the format of stored fields
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoredFieldsFormat
public StoredFieldsFormat()
fieldsReader
public abstract StoredFieldsReader fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
throws IOException
- Returns a
StoredFieldsReader
to load stored
fields.
- Throws:
IOException
fieldsWriter
public abstract StoredFieldsWriter fieldsWriter(Directory directory,
SegmentInfo si,
IOContext context)
throws IOException
- Returns a
StoredFieldsWriter
to write stored
fields.
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.