@InterfaceAudience.Public @InterfaceStability.Unstable
See: Description
Class | Description |
---|---|
CloseableTaskPoolSubmitter |
A task submitter which is closeable, and whose close() call
shuts down the pool.
|
FutureIO |
Future IO Helper methods.
|
RemoteIterators |
A set of remote iterators supporting transformation and filtering,
with IOStatisticsSource passthrough, and of conversions of
the iterators to lists/arrays and of performing actions
on the values.
|
Pretty much all the Hadoop FS APIs raise IOExceptions, hence the need for these classes. If Java had made a different decision about the nature of exceptions, life would be better.
Do note that theRemoteIterators
iterators go beyond that of the java ones, in terms of declaring themselves
Closeable and implementors of
IOStatisticsSource
; a chain
of wrapped iterators can supply statistics of the inner iterators, and
encourage close() to be called after use.Copyright © 2024 Apache Software Foundation. All rights reserved.