Package org.apache.beam.sdk.io.aws2.s3
Interface S3FileSystemSchemeRegistrar
-
- All Known Implementing Classes:
DefaultS3FileSystemSchemeRegistrar
@Experimental(FILESYSTEM) public interface S3FileSystemSchemeRegistrarA registrar that createsS3FileSystemConfigurationinstances fromPipelineOptions.Users of storage systems that use the S3 protocol have the ability to register a URI scheme by creating a
ServiceLoaderentry and a concrete implementation of this interface.It is optional but recommended to use one of the many build time tools such as
AutoServiceto generate the necessary META-INF files automatically.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<S3FileSystemConfiguration>fromOptions(org.apache.beam.sdk.options.PipelineOptions options)Create zero or moreS3FileSystemConfigurationinstances from the givenPipelineOptions.
-
-
-
Method Detail
-
fromOptions
java.lang.Iterable<S3FileSystemConfiguration> fromOptions(@Nonnull org.apache.beam.sdk.options.PipelineOptions options)
Create zero or moreS3FileSystemConfigurationinstances from the givenPipelineOptions.Each
schemeis required to be unique among all schemes registered by allS3FileSystemSchemeRegistrars, as well as among allFileSystems registered by allFileSystemRegistrars.
-
-