org.apache.lucene.codecs.lucene40
Class Lucene40FieldInfosWriter

java.lang.Object
  extended by org.apache.lucene.codecs.FieldInfosWriter
      extended by org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter

public class Lucene40FieldInfosWriter
extends FieldInfosWriter

Lucene 4.0 FieldInfos writer.

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

Constructor Summary
Lucene40FieldInfosWriter()
          Sole constructor.
 
Method Summary
 byte docValuesByte(DocValues.Type type)
          Returns the byte used to encode the DocValues.Type for each field.
 void write(Directory directory, String segmentName, FieldInfos infos, IOContext context)
          Writes the provided FieldInfos to the directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lucene40FieldInfosWriter

public Lucene40FieldInfosWriter()
Sole constructor.

Method Detail

write

public void write(Directory directory,
                  String segmentName,
                  FieldInfos infos,
                  IOContext context)
           throws IOException
Description copied from class: FieldInfosWriter
Writes the provided FieldInfos to the directory.

Specified by:
write in class FieldInfosWriter
Throws:
IOException

docValuesByte

public byte docValuesByte(DocValues.Type type)
Returns the byte used to encode the DocValues.Type for each field.



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