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 SummaryNested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterableCloseableIterable.ConcatCloseableIterable<E>
- 
Constructor SummaryConstructorsConstructorDescriptionParallelIterable(Iterable<? extends Iterable<T>> iterables, ExecutorService workerPool) ParallelIterable(Iterable<? extends Iterable<T>> iterables, ExecutorService workerPool, int approximateMaxQueueSize) 
- 
Method SummaryModifier and TypeMethodDescriptioniterator()Returns a closeable iterator over elements of typeT.Methods inherited from class org.apache.iceberg.io.CloseableGroupaddCloseable, addCloseable, close, setSuppressCloseFailureMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ParallelIterable
- 
ParallelIterablepublic ParallelIterable(Iterable<? extends Iterable<T>> iterables, ExecutorService workerPool, int approximateMaxQueueSize) 
 
- 
- 
Method Details- 
iteratorDescription copied from interface:CloseableIterableReturns a closeable iterator over elements of typeT.- Specified by:
- iteratorin interface- CloseableIterable<T>
- Specified by:
- iteratorin interface- Iterable<T>
- Returns:
- an CloseableIterator.
 
 
-