Class BatchIteratorAdapter
java.lang.Object
org.apache.druid.collections.bitmap.BatchIteratorAdapter
- All Implemented Interfaces:
Cloneable,org.roaringbitmap.BatchIterator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadvanceIfNeeded(int target) org.roaringbitmap.BatchIteratorclone()booleanhasNext()intnextBatch(int[] buffer) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.roaringbitmap.BatchIterator
asIntIterator
-
Constructor Details
-
BatchIteratorAdapter
public BatchIteratorAdapter(org.roaringbitmap.PeekableIntIterator iterator)
-
-
Method Details
-
nextBatch
public int nextBatch(int[] buffer) - Specified by:
nextBatchin interfaceorg.roaringbitmap.BatchIterator
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceorg.roaringbitmap.BatchIterator
-
advanceIfNeeded
public void advanceIfNeeded(int target) - Specified by:
advanceIfNeededin interfaceorg.roaringbitmap.BatchIterator
-
clone
public org.roaringbitmap.BatchIterator clone()
-