Package org.apache.iceberg.io
Interface CloseableIterator<T>
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,java.util.Iterator<T>
public interface CloseableIterator<T> extends java.util.Iterator<T>, java.io.Closeable
-
-
Method Summary
Static Methods Modifier and Type Method Description static <E> CloseableIterator<E>
empty()
static <E> CloseableIterator<E>
withClose(java.util.Iterator<E> iterator)
-
-
-
Method Detail
-
empty
static <E> CloseableIterator<E> empty()
-
withClose
static <E> CloseableIterator<E> withClose(java.util.Iterator<E> iterator)
-
-