Class XUpdateableDocIdSetIterator

java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.search.AbstractDocIdSetIterator
org.elasticsearch.lucene.comparators.XUpdateableDocIdSetIterator

public final class XUpdateableDocIdSetIterator extends org.apache.lucene.search.AbstractDocIdSetIterator
  • Field Summary

    Fields inherited from class org.apache.lucene.search.AbstractDocIdSetIterator

    doc

    Fields inherited from class org.apache.lucene.search.DocIdSetIterator

    NO_MORE_DOCS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    advance(int target)
     
    long
     
    int
     
    org.apache.lucene.search.DocIdSetIterator
     
    void
    intoBitSet(int upTo, org.apache.lucene.util.FixedBitSet bitSet, int offset)
     
    int
     
    void
    update(org.apache.lucene.search.DocIdSetIterator iterator)
    Update the wrapped DocIdSetIterator.

    Methods inherited from class org.apache.lucene.search.AbstractDocIdSetIterator

    docID

    Methods inherited from class org.apache.lucene.search.DocIdSetIterator

    all, empty, range, slowAdvance

    Methods inherited from class java.lang.Object

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

    • XUpdateableDocIdSetIterator

      public XUpdateableDocIdSetIterator()
  • Method Details

    • update

      public void update(org.apache.lucene.search.DocIdSetIterator iterator)
      Update the wrapped DocIdSetIterator. It doesn't need to be positioned on the same doc ID as this iterator.
    • nextDoc

      public int nextDoc() throws IOException
      Specified by:
      nextDoc in class org.apache.lucene.search.DocIdSetIterator
      Throws:
      IOException
    • advance

      public int advance(int target) throws IOException
      Specified by:
      advance in class org.apache.lucene.search.DocIdSetIterator
      Throws:
      IOException
    • cost

      public long cost()
      Specified by:
      cost in class org.apache.lucene.search.DocIdSetIterator
    • intoBitSet

      public void intoBitSet(int upTo, org.apache.lucene.util.FixedBitSet bitSet, int offset) throws IOException
      Overrides:
      intoBitSet in class org.apache.lucene.search.DocIdSetIterator
      Throws:
      IOException
    • docIDRunEnd

      public int docIDRunEnd() throws IOException
      Overrides:
      docIDRunEnd in class org.apache.lucene.search.DocIdSetIterator
      Throws:
      IOException
    • getDelegate

      public org.apache.lucene.search.DocIdSetIterator getDelegate()