Package org.apache.lucene.index
Class DocIDMerger.Sub
- java.lang.Object
-
- org.apache.lucene.index.DocIDMerger.Sub
-
- Direct Known Subclasses:
CompressingStoredFieldsWriter.CompressingStoredFieldsMergeSub,DocValuesConsumer.BinaryDocValuesSub,DocValuesConsumer.NumericDocValuesSub,DocValuesConsumer.SortedDocValuesSub,DocValuesConsumer.SortedNumericDocValuesSub,DocValuesConsumer.SortedSetDocValuesSub,MappingMultiPostingsEnum.MappingPostingsSub,NormsConsumer.NumericDocValuesSub,StoredFieldsWriter.StoredFieldsMergeSub,TermVectorsWriter.TermVectorsMergeSub
- Enclosing class:
- DocIDMerger<T extends DocIDMerger.Sub>
public abstract static class DocIDMerger.Sub extends java.lang.ObjectRepresents one sub-reader being merged
-
-
Field Summary
Fields Modifier and Type Field Description (package private) MergeState.DocMapdocMapintmappedDocIDMapped doc ID
-
Constructor Summary
Constructors Constructor Description Sub(MergeState.DocMap docMap)Sole constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract intnextDoc()Returns the next document ID from this sub reader, andDocIdSetIterator.NO_MORE_DOCSwhen done
-
-
-
Field Detail
-
mappedDocID
public int mappedDocID
Mapped doc ID
-
docMap
final MergeState.DocMap docMap
-
-
Constructor Detail
-
Sub
public Sub(MergeState.DocMap docMap)
Sole constructor
-
-
Method Detail
-
nextDoc
public abstract int nextDoc() throws java.io.IOExceptionReturns the next document ID from this sub reader, andDocIdSetIterator.NO_MORE_DOCSwhen done- Throws:
java.io.IOException
-
-