Class ScanResultValueIterator

java.lang.Object
org.apache.druid.query.scan.ScanResultValueIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<ScanResultValue>, CloseableIterator<ScanResultValue>

public class ScanResultValueIterator extends Object implements CloseableIterator<ScanResultValue>
Iterates over the scan result sequence and provides an interface to clean up the resources (if any) to close the underlying sequence. Similar to Yielder, once close is called on the iterator, the calls to the rest of the iterator's methods are undefined.