Package org.apache.iceberg.io
Class ClosingIterator<T>
java.lang.Object
org.apache.iceberg.io.ClosingIterator<T>
- All Implemented Interfaces:
Iterator<T>
A convenience wrapper around
CloseableIterator
, providing auto-close functionality when
all of the elements in the iterator are consumed.