Package org.apache.hadoop.fs.s3a.impl
@Private
@Unstable
package org.apache.hadoop.fs.s3a.impl
Implementation classes private to the S3A store.
Do not use outside of the hadoop-aws module.
-
ClassDescriptionBase class of operations in the store.Context for any active operation.Enum to map AWS SDK V1 Acl values to SDK V2.Methods for configuring the S3 client.Common S3 HTTP header values used throughout the Amazon Web Services S3 Java client.This class exists to support workarounds for parts of the AWS SDK which have caused problems.An implementation of the
S3AFileSystemOperationsinterface.S3A Implementation of theBulkDeleteinterface.Callbacks for the bulk delete operation.Callbacks for the bulk delete operation.Handler for bulk delete retry events.A bridge from Callable to Supplier; catching exceptions raised by the callable and wrapping them as appropriate.Object change detection policy.What to do when change is detected.The S3 object attribute used to detect change.Change tracking for input streams: the version ID or etag of the object is tracked and compared on open/re-open.Utility class to support operations on S3 object checksum.Interface for on-demand/async creation of AWS clients and extension services.Client manager for on-demand creation of S3 clients, with parallelized close of them inClientManagerImpl.serviceStop().Helper class for configuration; where methods related to extracting configuration should go instead ofS3AUtils.This interacts with the Shaded httpclient library used in the full AWS SDK.An interface to implement for providing accessors to S3AFileSystem-level API calls.Implementation of CopyFromLocalOperation.Define the contract forCopyFromLocalOperationto interact with any external resources.Builder used in create file; takes a callback to the operation to create the file.Callbacks for creating the file.Create file options as built from the builder set or the classic entry point.This class is for storing information about key type and corresponding key to be used for client side encryption.Enum for CSE key types.An implementation of theS3AFileSystemOperationsinterface.S3 client side encryption (CSE) utility class.An extension of theCSES3AFileSystemOperationsclass.Implementation of the delete() operation.Tracks directory markers which have been reported in object listings.This is a marker entry stored in the map and returned as markers are deleted.Factory class to create encrypted s3 client and encrypted async s3 client.Translate from AWS SDK-wrapped exceptions into IOExceptions with as much information as possible.AWS error codes explicitly recognized and processes specially; kept in their own class for isolation.A subclass ofAbstractStoreOperationwhich provides a methodExecutingStoreOperation.execute()that may be invoked exactly once.GetContentSummary operation.Callbacks used by the operation.Part of the S3A FS where object headers are processed.Callbacks for object stream operations.An instantiation exception raised during reflection-based creation of classes.An (extensible) enum of kinds of instantiation failure.Internal constants private only to the S3A codebase.These are all the callbacks whichListingoperations need, derived from the actual appropriate S3AFileSystem methods.The mkdir operation.Callbacks used by mkdir.Exception raised inS3AFileSystem.deleteObjects(software.amazon.awssdk.services.s3.model.DeleteObjectsRequest)when one or more of the keys could not be deleted.Configures network settings when communicating with AWS services.Helper class for openFile() logic, especially processing file status args and length/etag/versionID.The information on a file needed to open it.These are all the callbacks which theRenameOperationandDeleteOperationoperations need, derived from the appropriate S3AFileSystem methods.Interface for progress listeners to implement.Enum for progress listener events.Extensible structure for options when putting/writing objects.A parallelized rename operation.The standard implementation of the request factory.This is a callback for anything to "prepare" every request after creation.Builder.Utility methods for S3A encryption properties.An interface that helps map from object store semantics to that of the fileystem.Builder for S3A multipart uploaders.Builder for the S3AStore.Store Layer.Anything needed to support Amazon S3 Express One Zone Storage.SDKStreamDrainer<TStream extends InputStream & software.amazon.awssdk.http.Abortable>Drains/aborts s3 or other AWS SDK streams.Enum of probes which can be made of S3.This class provides the core context of the S3A filesystem to subsidiary components, without exposing the entire parent class.Builder for the store context.Factory for creating store contexts.Implementations ofsoftware.amazon.awssdk.http.ContentStreamProvider.Base class for content providers; tracks the number of times a stream has been opened.This class provides utility methods required for migrating S3A to AWS Java SDK V2.