Package org.apache.beam.sdk.io.aws2.s3
Interface S3FileSystemSchemeRegistrar
- All Known Implementing Classes:
DefaultS3FileSystemSchemeRegistrar
public interface S3FileSystemSchemeRegistrar
A registrar that creates
S3FileSystemConfiguration
instances from PipelineOptions
.
Users of storage systems that use the S3 protocol have the ability to register a URI scheme by
creating a ServiceLoader
entry and a concrete implementation of this interface.
It is optional but recommended to use one of the many build time tools such as AutoService
to generate the necessary META-INF files automatically.
-
Method Summary
Modifier and TypeMethodDescriptionfromOptions
(PipelineOptions options) Create zero or moreS3FileSystemConfiguration
instances from the givenPipelineOptions
.
-
Method Details
-
fromOptions
Create zero or moreS3FileSystemConfiguration
instances from the givenPipelineOptions
.Each
scheme
is required to be unique among all schemes registered by allS3FileSystemSchemeRegistrar
s, as well as among allFileSystem
s registered by allFileSystemRegistrar
s.
-