org.apache.lucene.codecs
Class SegmentInfoWriter

java.lang.Object
  extended by org.apache.lucene.codecs.SegmentInfoWriter
Direct Known Subclasses:
Lucene40SegmentInfoWriter, SimpleTextSegmentInfoWriter

public abstract class SegmentInfoWriter
extends Object

Specifies an API for classes that can write out SegmentInfo data.

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

Constructor Summary
SegmentInfoWriter()
           
 
Method Summary
abstract  void write(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext)
          Write SegmentInfo data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentInfoWriter

public SegmentInfoWriter()
Method Detail

write

public abstract void write(Directory dir,
                           SegmentInfo info,
                           FieldInfos fis,
                           IOContext ioContext)
                    throws IOException
Write SegmentInfo data.

Throws:
IOException


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