Class BufferingTermFreqIteratorWrapper

  • All Implemented Interfaces:
    TermFreqIterator, org.apache.lucene.util.BytesRefIterator
    Direct Known Subclasses:
    UnsortedTermFreqIteratorWrapper

    public class BufferingTermFreqIteratorWrapper
    extends Object
    implements TermFreqIterator
    This wrapper buffers incoming elements.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Field Detail

      • curPos

        protected int curPos
      • freqs

        protected long[] freqs
    • Method Detail

      • next

        public org.apache.lucene.util.BytesRef next()
                                             throws IOException
        Specified by:
        next in interface org.apache.lucene.util.BytesRefIterator
        Throws:
        IOException
      • getComparator

        public Comparator<org.apache.lucene.util.BytesRef> getComparator()
        Specified by:
        getComparator in interface org.apache.lucene.util.BytesRefIterator