Package org.apache.iceberg.io
Interface CloseableIterator<T>
- All Superinterfaces:
AutoCloseable
,Closeable
,Iterator<T>
- All Known Implementing Classes:
DataIterator
,FilterIterator
,VectorizedRowBatchIterator
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CloseableIterator<T>
count
(Counter counter, CloseableIterator<T> iterator) static <E> CloseableIterator<E>
empty()
static <I,
O> CloseableIterator<O> transform
(CloseableIterator<I> iterator, Function<I, O> transform) static <E> CloseableIterator<E>
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
empty
-
withClose
-
transform
static <I,O> CloseableIterator<O> transform(CloseableIterator<I> iterator, Function<I, O> transform) -
count
-