org.apache.lucene.codecs
Class StoredFieldsFormat

java.lang.Object
  extended by org.apache.lucene.codecs.StoredFieldsFormat
Direct Known Subclasses:
Lucene40StoredFieldsFormat, SimpleTextStoredFieldsFormat

public abstract class StoredFieldsFormat
extends Object

Controls the format of stored fields


Constructor Summary
StoredFieldsFormat()
           
 
Method Summary
abstract  StoredFieldsReader fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)
          Returns a StoredFieldsReader to load stored fields.
abstract  StoredFieldsWriter fieldsWriter(Directory directory, SegmentInfo si, IOContext context)
          Returns a StoredFieldsWriter to write stored fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredFieldsFormat

public StoredFieldsFormat()
Method Detail

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.