@InterfaceAudience.LimitedPrivate(value="HBoss")
@InterfaceStability.Evolving
public interface S3ClientFactory
S3Client
client instances.
Important: HBase's HBoss module implements this interface in its
tests.
Take care when updating this interface to ensure that a client
implementing only the deprecated method will work.
See https://github.com/apache/hbase-filesystemModifier and Type | Interface and Description |
---|---|
static class |
S3ClientFactory.S3ClientCreationParameters
Deprecated.
Settings for the S3 Client.
|
Modifier and Type | Method and Description |
---|---|
software.amazon.awssdk.services.s3.S3AsyncClient |
createS3AsyncClient(URI uri,
S3ClientFactory.S3ClientCreationParameters parameters)
Deprecated.
Creates a new
S3AsyncClient . |
software.amazon.awssdk.services.s3.S3Client |
createS3Client(URI uri,
S3ClientFactory.S3ClientCreationParameters parameters)
Deprecated.
Creates a new
S3Client . |
software.amazon.awssdk.transfer.s3.S3TransferManager |
createS3TransferManager(software.amazon.awssdk.services.s3.S3AsyncClient s3AsyncClient)
Deprecated.
Creates a new
S3TransferManager . |
software.amazon.awssdk.services.s3.S3Client createS3Client(URI uri, S3ClientFactory.S3ClientCreationParameters parameters) throws IOException
S3Client
.
The client returned supports synchronous operations. For
asynchronous operations, use
createS3AsyncClient(URI, S3ClientCreationParameters)
.uri
- S3A file system URIparameters
- parameter objectIOException
- on any IO problemsoftware.amazon.awssdk.services.s3.S3AsyncClient createS3AsyncClient(URI uri, S3ClientFactory.S3ClientCreationParameters parameters) throws IOException
S3AsyncClient
.
The client returned supports asynchronous operations. For
synchronous operations, use
createS3Client(URI, S3ClientCreationParameters)
.uri
- S3A file system URIparameters
- parameter objectIOException
- on any IO problemsoftware.amazon.awssdk.transfer.s3.S3TransferManager createS3TransferManager(software.amazon.awssdk.services.s3.S3AsyncClient s3AsyncClient)
S3TransferManager
.s3AsyncClient
- the async client to be used by the TM.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.