Package org.apache.hadoop.fs.impl
@LimitedPrivate("Filesystems")
@Unstable
package org.apache.hadoop.fs.impl
This package contains implementation classes for use inside
filesystems.
These classes MUST NOT be directly exposed as the arguments
or return values of methods, or as part of a visible
inheritance tree.
These classes MAY be returned behind interfaces.
When such interfaces are used as parameters, the methods
which accept the interfaces MUST NOT cast them to the classes
contained therein: they MUST interact purely through
the interface.
That is: don't expose the implementation classes in here,
and don't expect input interface implementations to always
be the classes in here.
These classes are for the private use of FileSystem/
FileContext implementations.
Implementation classes not developed within the ASF Hadoop
codebase MAY use these, with the caveat that these classes
are highly unstable.
-
ClassDescriptionAbstractFSBuilderImpl<S,
B extends FSBuilder<S, B>> Builder for filesystem/filecontext operations of various kinds, with option support.Standard base class for Multipart Uploaders.Holds reference to an object to be attached to a stream or store to avoid the reference being lost to GC.A file range that represents a set of underlying file ranges.Default implementation of theBulkDeleteinterface.A range of bytes from a file with an optional buffer to read those bytes for zero copy.A MultipartUploader that uses the basic FileSystem commands.Builder forFileSystemMultipartUploader.A set of flags, constructed from a configuration option or from a string, with the semantics ofConfigurationHelper.parseEnumSet(String, String, Class, boolean)and implementingStreamCapabilities.Class to help with use of FSBuilder.Class to allow Lambda expressions to be used inFileContextlink resolution.The signature of the function to invoke.Deprecated.Deprecated.Deprecated.Deprecated.Builder for input streams and subclasses whose return value is actually a completable future: this allows for better asynchronous operation.Deprecated.A class to report leaks of streams.Builder forMultipartUploaderimplementations.All the parameters from the openFile builder for theopenFileWithOptionscommands.Utility classes to help implementing filesystems and streams.A wrapperByteBufferPoolimplementation that tracks whether all allocated buffers are released.Strack trace of allocation as saved in the tracking map.Exception raised inTrackingByteBufferPool.close()if there was an unreleased buffer.Exception raised inTrackingByteBufferPool.putBuffer(ByteBuffer)if the buffer to release was not in the hash map.A ByteBufferPool implementation that uses a pair of functions to allocate and release ByteBuffers; intended for use implementing the VectorIO API as it makes the pair of functions easier to pass around and use in existing code.A WeakReferenceMap for threads.A weak referenced metrics source which avoids hanging on to large objects if somehow they don't get fully closed/cleaned up.Deprecated.use theUncheckedIOExceptiondirectly.]
org.apache.hadoop.util.functional