Class NeighborQueueRowIdIterator
java.lang.Object
org.apache.cassandra.utils.AbstractIterator<RowIdWithScore>
org.apache.cassandra.index.sai.disk.v1.vector.NeighborQueueRowIdIterator
- All Implemented Interfaces:
com.google.common.collect.PeekingIterator<RowIdWithScore>,AutoCloseable,Iterator<RowIdWithScore>,CloseableIterator<RowIdWithScore>
An iterator over
RowIdWithScore that lazily consumes a NeighborQueue.-
Constructor Summary
ConstructorsConstructorDescriptionNeighborQueueRowIdIterator(io.github.jbellis.jvector.graph.NeighborQueue scoreQueue) -
Method Summary
Methods inherited from class org.apache.cassandra.utils.AbstractIterator
close, endOfData, hasNext, next, peek, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NeighborQueueRowIdIterator
public NeighborQueueRowIdIterator(io.github.jbellis.jvector.graph.NeighborQueue scoreQueue)
-
-
Method Details
-
computeNext
- Specified by:
computeNextin classAbstractIterator<RowIdWithScore>
-