Class MergePrimaryKeyWithScoreIterator
java.lang.Object
org.apache.cassandra.utils.AbstractIterator<PrimaryKeyWithScore>
org.apache.cassandra.index.sai.utils.MergePrimaryKeyWithScoreIterator
- All Implemented Interfaces:
com.google.common.collect.PeekingIterator<PrimaryKeyWithScore>,AutoCloseable,Iterator<PrimaryKeyWithScore>,CloseableIterator<PrimaryKeyWithScore>
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class org.apache.cassandra.utils.AbstractIterator
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
-
MergePrimaryKeyWithScoreIterator
public MergePrimaryKeyWithScoreIterator(Collection<CloseableIterator<PrimaryKeyWithScore>> iterators)
-
-
Method Details
-
computeNext
- Specified by:
computeNextin classAbstractIterator<PrimaryKeyWithScore>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableIterator<PrimaryKeyWithScore>- Overrides:
closein classAbstractIterator<PrimaryKeyWithScore>
-