org.apache.lucene.codecs
Class DocValuesFormat

java.lang.Object
  extended by org.apache.lucene.codecs.DocValuesFormat
Direct Known Subclasses:
Lucene40DocValuesFormat, SimpleTextDocValuesFormat

public abstract class DocValuesFormat
extends Object

Encodes/decodes DocValues

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

Constructor Summary
DocValuesFormat()
           
 
Method Summary
abstract  PerDocConsumer docsConsumer(PerDocWriteState state)
          Consumes (writes) doc values during indexing.
abstract  PerDocProducer docsProducer(SegmentReadState state)
          Produces (reads) doc values during reading/searching.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocValuesFormat

public DocValuesFormat()
Method Detail

docsConsumer

public abstract PerDocConsumer docsConsumer(PerDocWriteState state)
                                     throws IOException
Consumes (writes) doc values during indexing.

Throws:
IOException

docsProducer

public abstract PerDocProducer docsProducer(SegmentReadState state)
                                     throws IOException
Produces (reads) doc values during reading/searching.

Throws:
IOException


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