Class MergeState.DocMap

java.lang.Object
org.apache.lucene.index.MergeState.DocMap
Enclosing class:
MergeState

public abstract static class MergeState.DocMap extends Object
A map of doc IDs.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Sole constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract int
    get(int docID)
    Return the mapped docID or -1 if the given doc is not mapped.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DocMap

      protected DocMap()
      Sole constructor. (For invocation by subclass constructors, typically implicit.)
  • Method Details

    • get

      public abstract int get(int docID)
      Return the mapped docID or -1 if the given doc is not mapped.