Package org.apache.cassandra.utils
Interface IndexedSearchIterator<K,V>
- All Superinterfaces:
SearchIterator<K,V>
- All Known Subinterfaces:
BTreeSearchIterator<K,V>
- All Known Implementing Classes:
FullBTreeSearchIterator,LeafBTreeSearchIterator
-
Method Summary
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
-