Interface IndexedSearchIterator<K,V>

All Superinterfaces:
SearchIterator<K,V>
All Known Subinterfaces:
BTreeSearchIterator<K,V>
All Known Implementing Classes:
FullBTreeSearchIterator, LeafBTreeSearchIterator

public interface IndexedSearchIterator<K,V> extends SearchIterator<K,V>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    int
     

    Methods inherited from interface org.apache.cassandra.utils.SearchIterator

    next
  • Method Details

    • hasNext

      boolean hasNext()
      Returns:
      true if iterator has any elements left, false otherwise
    • current

      V current()
      Returns:
      the value just recently returned by next()
      Throws:
      NoSuchElementException - if next() returned null
    • indexOfCurrent

      int indexOfCurrent()
      Returns:
      the index of the value returned by current(), and just returned by next()
      Throws:
      NoSuchElementException - if next() returned null