Class DocIDMerger.SortedDocIDMerger<T extends DocIDMerger.Sub>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SortedDocIDMerger​(java.util.List<T> subs, int maxCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T next()
      Returns null when done.
      void reset()
      Reuse API, currently only used by postings during merge
      • Methods inherited from class java.lang.Object

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

      • SortedDocIDMerger

        private SortedDocIDMerger​(java.util.List<T> subs,
                                  int maxCount)
                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • reset

        public void reset()
                   throws java.io.IOException
        Description copied from class: DocIDMerger
        Reuse API, currently only used by postings during merge
        Specified by:
        reset in class DocIDMerger<T extends DocIDMerger.Sub>
        Throws:
        java.io.IOException
      • next

        public T next()
               throws java.io.IOException
        Description copied from class: DocIDMerger
        Returns null when done. NOTE: after the iterator has exhausted you should not call this method, as it may result in unpredicted behavior.
        Specified by:
        next in class DocIDMerger<T extends DocIDMerger.Sub>
        Throws:
        java.io.IOException