org.apache.lucene.index

## Class DocIDMerger.Sub

- java.lang.Object
- - org.apache.lucene.index.DocIDMerger.Sub

- Enclosing class:
    DocIDMerger<T extends DocIDMerger.Sub>

      public abstract static class DocIDMerger.Sub
      extends Object

  Represents one sub-reader being merged

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `mappedDocID` Mapped doc ID

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Sub(MergeState.DocMap docMap)` Sole constructor

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract int` | `nextDoc()` Returns the next document ID from this sub reader, and `DocIdSetIterator.NO_MORE_DOCS` when done

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### mappedDocID

          public int mappedDocID

      Mapped doc ID

  - ### Constructor Detail

    - #### Sub

          public Sub(MergeState.DocMap docMap)

      Sole constructor

  - ### Method Detail

    - #### nextDoc

          public abstract int nextDoc()
                               throws IOException

      Returns the next document ID from this sub reader, and `DocIdSetIterator.NO_MORE_DOCS` when done
      Throws:
        `IOException`

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