Package org.apache.iceberg.util
Class ParallelIterable<T>
java.lang.Object
org.apache.iceberg.io.CloseableGroup
org.apache.iceberg.util.ParallelIterable<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<T>
,CloseableIterable<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterable
CloseableIterable.ConcatCloseableIterable<E>
-
Constructor Summary
ConstructorDescriptionParallelIterable
(Iterable<? extends Iterable<T>> iterables, ExecutorService workerPool) -
Method Summary
Modifier and TypeMethodDescriptioniterator()
Returns a closeable iterator over elements of typeT
.Methods inherited from class org.apache.iceberg.io.CloseableGroup
addCloseable, addCloseable, close, setSuppressCloseFailure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ParallelIterable
-
-
Method Details
-
iterator
Description copied from interface:CloseableIterable
Returns a closeable iterator over elements of typeT
.- Specified by:
iterator
in interfaceCloseableIterable<T>
- Specified by:
iterator
in interfaceIterable<T>
- Returns:
- an
CloseableIterator
.
-