java.lang.Object
org.apache.lucene.index.SegmentDocValues
Manages the
DocValuesProducer held by SegmentReader and keeps track of their
reference counting.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voiddecRef(LongArrayList dvProducersGens) Decrement the reference count of the givenDocValuesProducergenerations.(package private) DocValuesProducergetDocValuesProducer(long gen, SegmentCommitInfo si, Directory dir, FieldInfos infos) Returns theDocValuesProducerfor the given generation.private RefCount<DocValuesProducer> newDocValuesProducer(SegmentCommitInfo si, Directory dir, long gen, FieldInfos infos)
-
Field Details
-
genDVProducers
-
-
Constructor Details
-
SegmentDocValues
SegmentDocValues()
-
-
Method Details
-
newDocValuesProducer
private RefCount<DocValuesProducer> newDocValuesProducer(SegmentCommitInfo si, Directory dir, long gen, FieldInfos infos) throws IOException - Throws:
IOException
-
getDocValuesProducer
DocValuesProducer getDocValuesProducer(long gen, SegmentCommitInfo si, Directory dir, FieldInfos infos) throws IOException Returns theDocValuesProducerfor the given generation.- Throws:
IOException
-
decRef
Decrement the reference count of the givenDocValuesProducergenerations.- Throws:
IOException
-