org.apache.lucene.codecs.lucene46
Class Lucene46SegmentInfoWriter

java.lang.Object
  extended by org.apache.lucene.codecs.SegmentInfoWriter
      extended by org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoWriter

public class Lucene46SegmentInfoWriter
extends SegmentInfoWriter

Lucene 4.0 implementation of SegmentInfoWriter.

See Also:
Lucene46SegmentInfoFormat
WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
Lucene46SegmentInfoWriter()
          Sole constructor.
 
Method Summary
 void write(Directory dir, SegmentInfo si, FieldInfos fis, IOContext ioContext)
          Save a single segment's info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lucene46SegmentInfoWriter

public Lucene46SegmentInfoWriter()
Sole constructor.

Method Detail

write

public void write(Directory dir,
                  SegmentInfo si,
                  FieldInfos fis,
                  IOContext ioContext)
           throws IOException
Save a single segment's info.

Specified by:
write in class SegmentInfoWriter
Throws:
IOException - If an I/O error occurs


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.