org.apache.lucene.codecs.lucene40
Class Lucene40NormsFormat.Lucene40NormsDocValuesProducer

java.lang.Object
  extended by org.apache.lucene.codecs.PerDocProducer
      extended by org.apache.lucene.codecs.PerDocProducerBase
          extended by org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
              extended by org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesProducer
All Implemented Interfaces:
Closeable
Enclosing class:
Lucene40NormsFormat

public static class Lucene40NormsFormat.Lucene40NormsDocValuesProducer
extends Lucene40DocValuesProducer

Lucene 4.0 PerDocProducer implementation that uses compound file.

See Also:
Lucene40DocValuesFormat

Field Summary
 
Fields inherited from class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
docValues
 
Constructor Summary
Lucene40NormsFormat.Lucene40NormsDocValuesProducer(SegmentReadState state, String segmentSuffix)
          Sole constructor.
 
Method Summary
protected  boolean anyDocValuesFields(FieldInfos infos)
          Returns true if any fields indexed doc values.
protected  boolean canLoad(FieldInfo info)
          Returns true if this field indexed doc values.
protected  DocValues.Type getDocValuesType(FieldInfo info)
          Returns the doc values type for this field.
 
Methods inherited from class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
closeInternal, docValues, loadDocValues
 
Methods inherited from class org.apache.lucene.codecs.PerDocProducerBase
close, docValues, docValuesId, getComparator, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lucene40NormsFormat.Lucene40NormsDocValuesProducer

public Lucene40NormsFormat.Lucene40NormsDocValuesProducer(SegmentReadState state,
                                                          String segmentSuffix)
                                                   throws IOException
Sole constructor.

Throws:
IOException
Method Detail

canLoad

protected boolean canLoad(FieldInfo info)
Description copied from class: PerDocProducerBase
Returns true if this field indexed doc values.

Overrides:
canLoad in class PerDocProducerBase

getDocValuesType

protected DocValues.Type getDocValuesType(FieldInfo info)
Description copied from class: PerDocProducerBase
Returns the doc values type for this field.

Overrides:
getDocValuesType in class PerDocProducerBase

anyDocValuesFields

protected boolean anyDocValuesFields(FieldInfos infos)
Description copied from class: PerDocProducerBase
Returns true if any fields indexed doc values.

Overrides:
anyDocValuesFields in class PerDocProducerBase


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