org.apache.lucene.codecs.sep
Class SepDocValuesProducer

java.lang.Object
  extended by org.apache.lucene.codecs.PerDocProducer
      extended by org.apache.lucene.codecs.PerDocProducerBase
          extended by org.apache.lucene.codecs.sep.SepDocValuesProducer
All Implemented Interfaces:
Closeable

public class SepDocValuesProducer
extends PerDocProducerBase

Implementation of PerDocProducer that uses separate files.

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

Constructor Summary
SepDocValuesProducer(SegmentReadState state)
          Creates a new SepDocValuesProducer instance and loads all DocValues instances for this segment and codec.
 
Method Summary
protected  void closeInternal(Collection<? extends Closeable> closeables)
           
protected  Map<String,DocValues> docValues()
           
protected  DocValues loadDocValues(int docCount, Directory dir, String id, DocValues.Type type, IOContext context)
           
 
Methods inherited from class org.apache.lucene.codecs.PerDocProducerBase
anyDocValuesFields, canLoad, close, docValues, docValuesId, getComparator, getDocValuesType, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SepDocValuesProducer

public SepDocValuesProducer(SegmentReadState state)
                     throws IOException
Creates a new SepDocValuesProducer instance and loads all DocValues instances for this segment and codec.

Throws:
IOException
Method Detail

docValues

protected Map<String,DocValues> docValues()
Specified by:
docValues in class PerDocProducerBase

closeInternal

protected void closeInternal(Collection<? extends Closeable> closeables)
                      throws IOException
Specified by:
closeInternal in class PerDocProducerBase
Throws:
IOException

loadDocValues

protected DocValues loadDocValues(int docCount,
                                  Directory dir,
                                  String id,
                                  DocValues.Type type,
                                  IOContext context)
                           throws IOException
Specified by:
loadDocValues in class PerDocProducerBase
Throws:
IOException


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