Package org.apache.beam.sdk.io.aws2.s3
Class DefaultS3FileSystemSchemeRegistrar
- java.lang.Object
-
- org.apache.beam.sdk.io.aws2.s3.DefaultS3FileSystemSchemeRegistrar
-
- All Implemented Interfaces:
S3FileSystemSchemeRegistrar
@AutoService(S3FileSystemSchemeRegistrar.class) @Experimental(FILESYSTEM) public class DefaultS3FileSystemSchemeRegistrar extends java.lang.Object implements S3FileSystemSchemeRegistrar
Registers the "s3" uri schema to be handled byS3FileSystem.
-
-
Constructor Summary
Constructors Constructor Description DefaultS3FileSystemSchemeRegistrar()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.Iterable<S3FileSystemConfiguration> fromOptions(@Nonnull org.apache.beam.sdk.options.PipelineOptions options)
Description copied from interface:S3FileSystemSchemeRegistrarCreate 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.- Specified by:
fromOptionsin interfaceS3FileSystemSchemeRegistrar
-
-