Interface TermsIterator

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<IndexEntry>
    All Known Implementing Classes:
    MemtableTermsIterator

    @NotThreadSafe
    public interface TermsIterator
    extends java.util.Iterator<IndexEntry>, java.io.Closeable
    An iterator over the contents of an index that extends Iterator<IndexEntry> that provides the min and max terms in the index. Each IndexEntry contains a term and the postings associated with that term.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer getMaxTerm()  
      java.nio.ByteBuffer getMinTerm()  
      • Methods inherited from interface java.io.Closeable

        close
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • getMinTerm

        java.nio.ByteBuffer getMinTerm()
      • getMaxTerm

        java.nio.ByteBuffer getMaxTerm()