Class CloseableGrouperIterator<KeyType,T>
java.lang.Object
org.apache.druid.query.groupby.epinephelinae.CloseableGrouperIterator<KeyType,T>
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<T>,CloseableIterator<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCloseableGrouperIterator(CloseableIterator<Grouper.Entry<KeyType>> iterator, Function<Grouper.Entry<KeyType>, T> transformer, Closeable closeable) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.java.util.common.parsers.CloseableIterator
flatMap, mapMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CloseableGrouperIterator
public CloseableGrouperIterator(CloseableIterator<Grouper.Entry<KeyType>> iterator, Function<Grouper.Entry<KeyType>, T> transformer, Closeable closeable)
-
-
Method Details
-
next
-
hasNext
public boolean hasNext() -
remove
public void remove() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-